From 71cc6f696f4113f710612a61b510037dd5128eff Mon Sep 17 00:00:00 2001 From: tswicegood Date: Sat, 28 Jun 2008 22:10:31 +0000 Subject: [PATCH] switch to PHP_EOL throughout for better Windows support for test cases git-svn-id: https://svn.phpt.info/Core/trunk@705 54d25d7b-d40e-47af-a99d-8d4037bc02b6 --- tests-supporting/tests-failures/01-fails.phpt | 2 +- tests-supporting/tests-failures/02-passes.phpt | 2 +- tests-supporting/tests-invalid/02-passes.phpt | 2 +- tests-supporting/tests-skips/02-passes.phpt | 2 +- tests-supporting/tests/addition.phpt | 2 +- tests-supporting/tests/math/division.phpt | 2 +- tests-supporting/tests/math/multiplication.phpt | 2 +- tests-supporting/tests/math/subtraction.phpt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests-supporting/tests-failures/01-fails.phpt b/tests-supporting/tests-failures/01-fails.phpt index cceee5e..03b0d4e 100644 --- a/tests-supporting/tests-failures/01-fails.phpt +++ b/tests-supporting/tests-failures/01-fails.phpt @@ -3,7 +3,7 @@ This is a simple failure --FILE-- ===DONE=== diff --git a/tests-supporting/tests-failures/02-passes.phpt b/tests-supporting/tests-failures/02-passes.phpt index 3212fbf..2666bde 100644 --- a/tests-supporting/tests-failures/02-passes.phpt +++ b/tests-supporting/tests-failures/02-passes.phpt @@ -3,7 +3,7 @@ This is a simple pass --FILE-- ===DONE=== diff --git a/tests-supporting/tests-invalid/02-passes.phpt b/tests-supporting/tests-invalid/02-passes.phpt index 3212fbf..2666bde 100644 --- a/tests-supporting/tests-invalid/02-passes.phpt +++ b/tests-supporting/tests-invalid/02-passes.phpt @@ -3,7 +3,7 @@ This is a simple pass --FILE-- ===DONE=== diff --git a/tests-supporting/tests-skips/02-passes.phpt b/tests-supporting/tests-skips/02-passes.phpt index 3212fbf..2666bde 100644 --- a/tests-supporting/tests-skips/02-passes.phpt +++ b/tests-supporting/tests-skips/02-passes.phpt @@ -3,7 +3,7 @@ This is a simple pass --FILE-- ===DONE=== diff --git a/tests-supporting/tests/addition.phpt b/tests-supporting/tests/addition.phpt index 46668db..af2cc82 100644 --- a/tests-supporting/tests/addition.phpt +++ b/tests-supporting/tests/addition.phpt @@ -8,7 +8,7 @@ $b = 2; $c = 3; $d = $a + $b + $c; -echo $d, "\n"; +echo $d, PHP_EOL; ?> ===DONE=== diff --git a/tests-supporting/tests/math/division.phpt b/tests-supporting/tests/math/division.phpt index 09a23c4..a405047 100644 --- a/tests-supporting/tests/math/division.phpt +++ b/tests-supporting/tests/math/division.phpt @@ -7,7 +7,7 @@ $a = 10; $b = 2; $result = $a / $b; -echo $result, "\n"; +echo $result, PHP_EOL; ?> ===DONE=== diff --git a/tests-supporting/tests/math/multiplication.phpt b/tests-supporting/tests/math/multiplication.phpt index adabd60..9d9ed6d 100644 --- a/tests-supporting/tests/math/multiplication.phpt +++ b/tests-supporting/tests/math/multiplication.phpt @@ -7,7 +7,7 @@ $a = 2.5; $b = 2; $result = $a * $b; -echo $result, "\n"; +echo $result, PHP_EOL; ?> ===DONE=== diff --git a/tests-supporting/tests/math/subtraction.phpt b/tests-supporting/tests/math/subtraction.phpt index 46b9878..1ed6496 100644 --- a/tests-supporting/tests/math/subtraction.phpt +++ b/tests-supporting/tests/math/subtraction.phpt @@ -7,7 +7,7 @@ $a = 10; $b = 5; $result = $a - $b; -echo $result, "\n" +echo $result, PHP_EOL; ?> ===DONE=== -- 2.11.4.GIT