Skip to content

Commit 59ed122

Browse files
Ukranian => Ukrainian (#228)
[no important files changed]
1 parent 95cf367 commit 59ed122

File tree

1 file changed

+5
-5
lines changed
  • exercises/practice/zebra-puzzle/.meta

1 file changed

+5
-5
lines changed

exercises/practice/zebra-puzzle/.meta/example.v

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ enum Property as u8 {
3636
// Nationalities
3737
englishman
3838
spaniard
39-
ukranian
39+
ukrainian
4040
norwegian
4141
japanese
4242
// Pets
@@ -58,8 +58,8 @@ fn solve() [][]u8 {
5858
constraints.same_house(Property.dog, Property.spaniard)
5959
constraints.same_house(Property.coffee, Property.green)
6060
constraints.same_house(Property.green, Property.coffee)
61-
constraints.same_house(Property.ukranian, Property.tea)
62-
constraints.same_house(Property.tea, Property.ukranian)
61+
constraints.same_house(Property.ukrainian, Property.tea)
62+
constraints.same_house(Property.tea, Property.ukrainian)
6363
constraints.is_next_to(Property.green, Property.ivory, 1)
6464
constraints.is_next_to(Property.ivory, Property.green, -1)
6565
constraints.same_house(Property.old_gold, Property.snails)
@@ -89,7 +89,7 @@ fn solve() [][]u8 {
8989
Property.orange_juice, Property.water])
9090

9191
constraints.add_mutually_exclusive_constraints([Property.englishman, Property.spaniard,
92-
Property.ukranian, Property.norwegian, Property.japanese])
92+
Property.ukrainian, Property.norwegian, Property.japanese])
9393

9494
constraints.add_mutually_exclusive_constraints([Property.dog, Property.fox, Property.horse,
9595
Property.zebra, Property.snails])
@@ -254,7 +254,7 @@ fn find_who(possible_values [][]u8, property Property) string {
254254
return match value {
255255
possible_values[int(Property.englishman)] { 'Englishman' }
256256
possible_values[int(Property.spaniard)] { 'Spaniard' }
257-
possible_values[int(Property.ukranian)] { 'Ukranian' }
257+
possible_values[int(Property.ukrainian)] { 'Ukrainian' }
258258
possible_values[int(Property.norwegian)] { 'Norwegian' }
259259
possible_values[int(Property.japanese)] { 'Japanese' }
260260
else { panic('Something has gone wrong, could not match house') }

0 commit comments

Comments
 (0)