From 0e2fa39fadb9ccf45408e047c2b85d62847eb9f2 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 21 Dec 2015 18:44:21 +0100 Subject: Use paths instead of simple identifiers wherever possible. --- test/libsolidity/Imports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libsolidity/Imports.cpp') diff --git a/test/libsolidity/Imports.cpp b/test/libsolidity/Imports.cpp index 57239cb9..f0f67785 100644 --- a/test/libsolidity/Imports.cpp +++ b/test/libsolidity/Imports.cpp @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE(simple_alias) { CompilerStack c; c.addSource("a", "contract A {}"); - c.addSource("dir/a/b/c", "import \"../../.././a\" as x; contract B { function() { x.A r = x.A(20); } }"); + c.addSource("dir/a/b/c", "import \"../../.././a\" as x; contract B is x.A { function() { x.A r = x.A(20); } }"); BOOST_CHECK(c.compile()); } -- cgit