Skip to content

Commit 1b874bb

Browse files
committed
fable: Fix failing unit-test when NAME defined in environment
It turned out to not be a problem with Environment as a problem with the test and/or documentation. Resolves issue #222.
1 parent 1a36d2d commit 1b874bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fable/src/fable/schema/string_test.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ TEST(fable_schema_string, interpolate) {
9595
{"TEST", "true"},
9696
{"NAME", "world"}
9797
};
98+
env.prefer_external(false);
9899
auto s = fable::schema::make_schema(&t, "interpolate").interpolate(true).environment(&env);
99100

100101
EXPECT_ANY_THROW(assert_from_conf(s, TO_CONF("${}")));

0 commit comments

Comments
 (0)