From 52bfb8bd2d6a4bf46a922495a6df7e2484aa8e5d Mon Sep 17 00:00:00 2001 From: wechman Date: Wed, 6 Jul 2022 09:17:59 +0200 Subject: [PATCH] Minor test naming/style corrections --- test/libsolidity/analysis/FunctionCallGraph.cpp | 6 +++--- .../localStorageVariables/ternary_assignment_fine.sol | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/libsolidity/analysis/FunctionCallGraph.cpp b/test/libsolidity/analysis/FunctionCallGraph.cpp index 7b67aeb44..8c10ca72a 100644 --- a/test/libsolidity/analysis/FunctionCallGraph.cpp +++ b/test/libsolidity/analysis/FunctionCallGraph.cpp @@ -1673,7 +1673,7 @@ BOOST_AUTO_TEST_CASE(using_for) contract C { using L for S; - function test() public { + function pub() public { S memory s = S(42); s.ext(); @@ -1693,8 +1693,8 @@ BOOST_AUTO_TEST_CASE(using_for) {"Entry", "function L.ext(struct S)"}, }}, {"C", { - {"Entry", "function C.test()"}, - {"function C.test()", "function L.inr(struct S)"}, + {"Entry", "function C.pub()"}, + {"function C.pub()", "function L.inr(struct S)"}, }}, }; diff --git a/test/libsolidity/syntaxTests/controlFlow/localStorageVariables/ternary_assignment_fine.sol b/test/libsolidity/syntaxTests/controlFlow/localStorageVariables/ternary_assignment_fine.sol index 894ff936c..10e9a6795 100644 --- a/test/libsolidity/syntaxTests/controlFlow/localStorageVariables/ternary_assignment_fine.sol +++ b/test/libsolidity/syntaxTests/controlFlow/localStorageVariables/ternary_assignment_fine.sol @@ -6,5 +6,4 @@ contract C { y; } } -// --- // ----