diff --git a/CHANGELOG.md b/CHANGELOG.md index 70f7c19cc0..49ad7889a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## V 0.1.16 *17 Jul 2019* - High order functions - +- `match` expression diff --git a/compiler/tests/match_test.v b/compiler/tests/match_test.v index d873f587f9..2d55a3e878 100644 --- a/compiler/tests/match_test.v +++ b/compiler/tests/match_test.v @@ -1,11 +1,11 @@ -fn test_switch() { +fn test_match() { a := 3 mut b := 0 match a { 2 => println('two') 3 => println('three') b = 3 - 4 => println('4') + 4 => println('four') } assert b == 3 }