mirror of
https://github.com/vlang/v.git
synced 2025-09-09 23:39:39 -04:00
14 lines
231 B
V
14 lines
231 B
V
import x.json2
|
|
|
|
struct CrossVerifyResult {
|
|
confusion_matrix_map map[string]map[string]f64
|
|
}
|
|
|
|
fn test_main() {
|
|
x := json2.decode[CrossVerifyResult]('') or {
|
|
assert err.msg().contains('invalid token')
|
|
return
|
|
}
|
|
assert false
|
|
}
|