Commit 8eb8df33 authored by Anton Fediushin's avatar Anton Fediushin

Merge branch 'issue_29' into 'master'

Add another test case to issue 29 test

See merge request !10
parents b3ee37ac 98f5c0d1
Pipeline #91784562 passed with stage
in 1 minute and 26 seconds
module issue_29;
@("ordinary case") unittest
{
}
mixin template Foo(string name)
{
@(name) unittest
......
......@@ -2,6 +2,7 @@
OUTPUT=$(dub test -b unittest-cov --root=$(dirname "${BASH_SOURCE[0]}") --skip-registry=all --nodeps -q -- --no-colours 2>&1)
echo "$OUTPUT" | grep -c "Summary: 0 passed, 0 failed" > /dev/null
echo "$OUTPUT" | grep -cv "ordinary case" > /dev/null
echo "$OUTPUT" | grep -c "Summary: 1 passed, 0 failed" > /dev/null
rm -r $(dirname "${BASH_SOURCE[0]}")/.dub $(dirname "${BASH_SOURCE[0]}")/issue_29-test-unittest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment