ci: fix -cstrict compilation of term.ui tests

pull/13865/head
Delyan Angelov 2022-03-29 18:03:05 +03:00
parent 7ee93c8a20
commit 04cc037955
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,6 @@ import term.ui
import term import term
fn test_term_and_term_ui_can_compile_together() { fn test_term_and_term_ui_can_compile_together() {
a := &ui.Context(0) println('${term.bold('hello')} world ${ui.color_table[0]}')
println('${term.bold('hello')} world ${int(a)}')
assert true assert true
} }

View File

@ -2,7 +2,6 @@ import term
import term.ui import term.ui
fn test_term_and_term_ui_can_compile_together() { fn test_term_and_term_ui_can_compile_together() {
a := &ui.Context(0) println('${term.bold('hello')} world ${ui.color_table[0]}')
println('${term.bold('hello')} world ${int(a)}')
assert true assert true
} }