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

ci: fix failing option_print_errors_test.v

This commit is contained in:
Delyan Angelov 2021-03-12 20:36:19 +02:00
parent be409b52e9
commit 0c33656a19
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -96,7 +96,7 @@ pub fn (o Option2) str() string {
if o.state == 1 {
return 'Option{ none }'
}
return 'Option{ err: "$o.err" }'
return 'Option{ error: "$o.err" }'
}
// error returns an optional containing the error given in `message`.