From 76d6e9fd1a2ff163a0a19aaf09a12e03c5eb0f41 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 17 Jul 2019 02:44:41 +0200 Subject: [PATCH] minor match_test.v fixes --- CHANGELOG.md | 2 +- compiler/tests/match_test.v | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }