From 222ba59d699aa1410b7c1f63dc762d05397eca66 Mon Sep 17 00:00:00 2001 From: David Jones Date: Thu, 20 Jun 2013 18:43:11 +0100 Subject: [PATCH] Test for singular. --- .../.test-one/fail | 1 + .../.test-one/pass | 0 .../Singular form is used for a single failure. | 2 ++ .../Singular form is used for a single pass. | 2 ++ 4 files changed, 5 insertions(+) create mode 100755 tests/Counts should be kept of successes and failures./.test-one/fail create mode 100755 tests/Counts should be kept of successes and failures./.test-one/pass create mode 100755 tests/Counts should be kept of successes and failures./Singular form is used for a single failure. create mode 100755 tests/Counts should be kept of successes and failures./Singular form is used for a single pass. diff --git a/tests/Counts should be kept of successes and failures./.test-one/fail b/tests/Counts should be kept of successes and failures./.test-one/fail new file mode 100755 index 0000000..c508d53 --- /dev/null +++ b/tests/Counts should be kept of successes and failures./.test-one/fail @@ -0,0 +1 @@ +false diff --git a/tests/Counts should be kept of successes and failures./.test-one/pass b/tests/Counts should be kept of successes and failures./.test-one/pass new file mode 100755 index 0000000..e69de29 diff --git a/tests/Counts should be kept of successes and failures./Singular form is used for a single failure. b/tests/Counts should be kept of successes and failures./Singular form is used for a single failure. new file mode 100755 index 0000000..917f91b --- /dev/null +++ b/tests/Counts should be kept of successes and failures./Singular form is used for a single failure. @@ -0,0 +1,2 @@ +#!/bin/sh +../../urchin .test-one | grep '1 test failed' diff --git a/tests/Counts should be kept of successes and failures./Singular form is used for a single pass. b/tests/Counts should be kept of successes and failures./Singular form is used for a single pass. new file mode 100755 index 0000000..bfa5c52 --- /dev/null +++ b/tests/Counts should be kept of successes and failures./Singular form is used for a single pass. @@ -0,0 +1,2 @@ +#!/bin/sh +../../urchin .test-one | grep '1 test passed'