Skip to content

Commit

Permalink
Merge pull request #32 from tsipinakis/drop-bc-testdep
Browse files Browse the repository at this point in the history
Drop test dependency on bc
  • Loading branch information
Minoru committed Oct 22, 2017
2 parents f40d5eb + 8d15f14 commit c6188f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/configparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ TEST_CASE("evaluate_backticks replaces command in backticks with its output",
== "hello world");
REQUIRE(configparser::evaluate_backticks("xxx`echo yyy`zzz")
== "xxxyyyzzz");
REQUIRE(configparser::evaluate_backticks("`echo 3 \\* 4 | bc`") == "12");
REQUIRE(configparser::evaluate_backticks("`seq 10 | tail -1`") == "10");
}

SECTION("backticks can be escaped with backslash") {
Expand Down

0 comments on commit c6188f9

Please sign in to comment.