mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
tests: cleanup obsolete TODOs about cgen errors
This commit is contained in:
parent
5ce4f95f0a
commit
bb2d605653
2 changed files with 2 additions and 3 deletions
|
@ -1612,7 +1612,7 @@ fn test_last_index() {
|
|||
assert 'Zabcabca'.last_index('Z')? == 0
|
||||
x := 'Zabcabca'.last_index('Y')
|
||||
assert x == none
|
||||
// TODO: `assert 'Zabcabca'.index_last('Y') == none` is a cgen error, 2023/12/04
|
||||
assert 'Zabcabca'.last_index('Y') == none
|
||||
}
|
||||
|
||||
fn test_last_index_u8() {
|
||||
|
|
|
@ -194,6 +194,5 @@ fn test_kind_function() {
|
|||
assert_function(test_kind_function)
|
||||
assert_not_function(123)
|
||||
assert_function('abc'.contains)
|
||||
i := 5
|
||||
assert_function(i.str) // TODO: 5.str currently leads to a cgen error
|
||||
assert_function(5.str)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue