ci: fix failing option_print_errors_test.v

pull/9274/head
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
1 changed files with 1 additions and 1 deletions

View File

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