mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: run vfmt over some of the tests in vlib/v/tests (#9455)
This commit is contained in:
@@ -7,11 +7,11 @@ interface Animal {
|
||||
}
|
||||
|
||||
fn (a Animal) info() string {
|
||||
return "I'm a ${a.breed} ${typeof(a).name}"
|
||||
return "I'm a $a.breed ${typeof(a).name}"
|
||||
}
|
||||
|
||||
fn new_animal(breed string) Animal {
|
||||
return &Cat{ breed }
|
||||
return &Cat{breed}
|
||||
}
|
||||
|
||||
fn test_methods_on_interfaces() {
|
||||
|
||||
Reference in New Issue
Block a user