From db45d049dbcd05e359f5ca09396d0685fa47ba4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20von=20der=20Ahe=CC=81?= Date: Wed, 18 Jul 2018 09:48:19 +0000 Subject: [PATCH] Update VM CC test to new void rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icf8db6ab4dd701b449af5998d3ed10cc3d5b2e6f Reviewed-on: https://dart-review.googlesource.com/65503 Reviewed-by: Martin Kustermann Commit-Queue: Peter von der Ahé --- runtime/vm/object_test.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc index baf1b79d20d..ea834acaad9 100644 --- a/runtime/vm/object_test.cc +++ b/runtime/vm/object_test.cc @@ -3857,38 +3857,38 @@ TEST_CASE(Metadata) { TEST_CASE(FunctionSourceFingerprint) { const char* kScriptChars = "class A {\n" - " static void test1(int a) {\n" + " static test1(int a) {\n" " return a > 1 ? a + 1 : a;\n" " }\n" - " static void test2(a) {\n" + " static test2(a) {\n" " return a > 1 ? a + 1 : a;\n" " }\n" - " static void test3(b) {\n" + " static test3(b) {\n" " return b > 1 ? b + 1 : b;\n" " }\n" - " static void test4(b) {\n" + " static test4(b) {\n" " return b > 1 ? b - 1 : b;\n" " }\n" - " static void test5(b) {\n" + " static test5(b) {\n" " return b > 1 ? b - 2 : b;\n" " }\n" - " void test6(int a) {\n" + " test6(int a) {\n" " return a > 1 ? a + 1 : a;\n" " }\n" "}\n" "class B {\n" - " static void /* Different declaration style. */\n" + " static /* Different declaration style. */\n" " test1(int a) {\n" " /* Returns a + 1 for a > 1, a otherwise. */\n" " return a > 1 ?\n" " a + 1 :\n" " a;\n" " }\n" - " static void test5(b) {\n" + " static test5(b) {\n" " return b > 1 ?\n" " b - 2 : b;\n" " }\n" - " void test6(int a) {\n" + " test6(int a) {\n" " return a > 1 ? a + 1 : a;\n" " }\n" "}";