1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: fix test

This commit is contained in:
Alexander Medvednikov 2020-03-26 17:21:52 +01:00
parent 75c2ef7947
commit eb57f192d4
2 changed files with 2 additions and 1 deletions

View File

@ -567,6 +567,7 @@ fn test_quote() {
fn test_ustring_comparisons() { fn test_ustring_comparisons() {
/* /*
QTODO
assert ('hllô !'.ustring() == 'hllô !'.ustring()) == true assert ('hllô !'.ustring() == 'hllô !'.ustring()) == true
assert ('hllô !'.ustring() == 'hllô'.ustring()) == false assert ('hllô !'.ustring() == 'hllô'.ustring()) == false
assert ('hllô !'.ustring() == 'hllo !'.ustring()) == false assert ('hllô !'.ustring() == 'hllo !'.ustring()) == false

View File

@ -127,7 +127,7 @@ int get_int2() {
void myuser() { void myuser() {
int x = 1; int x = 1;
int q = x | 4100; int q = x | 0x1004;
User user = (User){ User user = (User){
.age = 30, .age = 30,
}; };