[Pkg-cli-apps-commits] [fsharp] 40/71: fix textual mistake in tests
Christopher Halse Rogers
raof-guest at moszumanska.debian.org
Fri Jan 17 05:18:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
raof-guest pushed a commit to tag 3.1.0
in repository fsharp.
commit e75ce44fce1b9e4f76152e7408e9ae21783d9bd0
Author: Don Syme <donsyme at fastmail.fm>
Date: Fri Nov 29 23:04:33 2013 +0000
fix textual mistake in tests
---
tests/fsharp/core/csfromfs/classes.fs | 2 +-
tests/fsharp/core/csfromfs/collections.fs | 2 +-
tests/fsharp/core/csfromfs/events.fs | 2 +-
tests/fsharp/core/csfromfs/fields.fs | 2 +-
tests/fsharp/core/csfromfs/indexers.fs | 2 +-
tests/fsharp/core/csfromfs/methods.fs | 2 +-
tests/fsharp/core/csfromfs/properties.fs | 2 +-
tests/fsharp/core/events/test.fs | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/fsharp/core/csfromfs/classes.fs b/tests/fsharp/core/csfromfs/classes.fs
index 1c8cc4f..02e7a93 100644
--- a/tests/fsharp/core/csfromfs/classes.fs
+++ b/tests/fsharp/core/csfromfs/classes.fs
@@ -344,7 +344,7 @@ end
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/csfromfs/collections.fs b/tests/fsharp/core/csfromfs/collections.fs
index 68de3b5..60b8fbe 100644
--- a/tests/fsharp/core/csfromfs/collections.fs
+++ b/tests/fsharp/core/csfromfs/collections.fs
@@ -32,7 +32,7 @@ let _ = test "fewoij332" (genericList.Item(1) = 1)
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/csfromfs/events.fs b/tests/fsharp/core/csfromfs/events.fs
index 16cd969..bc6c78e 100644
--- a/tests/fsharp/core/csfromfs/events.fs
+++ b/tests/fsharp/core/csfromfs/events.fs
@@ -70,5 +70,5 @@ let testEvents =
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/csfromfs/fields.fs b/tests/fsharp/core/csfromfs/fields.fs
index 0b772fb..4db547a 100644
--- a/tests/fsharp/core/csfromfs/fields.fs
+++ b/tests/fsharp/core/csfromfs/fields.fs
@@ -110,5 +110,5 @@ end
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/csfromfs/indexers.fs b/tests/fsharp/core/csfromfs/indexers.fs
index be7be78..9b63eff 100644
--- a/tests/fsharp/core/csfromfs/indexers.fs
+++ b/tests/fsharp/core/csfromfs/indexers.fs
@@ -29,5 +29,5 @@ let testIndexers =
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/csfromfs/methods.fs b/tests/fsharp/core/csfromfs/methods.fs
index c933ceb..575ef6e 100644
--- a/tests/fsharp/core/csfromfs/methods.fs
+++ b/tests/fsharp/core/csfromfs/methods.fs
@@ -140,7 +140,7 @@ end
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/csfromfs/properties.fs b/tests/fsharp/core/csfromfs/properties.fs
index 1e8d7fd..68f3eef 100644
--- a/tests/fsharp/core/csfromfs/properties.fs
+++ b/tests/fsharp/core/csfromfs/properties.fs
@@ -120,5 +120,5 @@ module FSharp_1_0_Bug_6389_Example4 =
let _ =
if !failures then (stdout.WriteLine "Test Failed"; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
diff --git a/tests/fsharp/core/events/test.fs b/tests/fsharp/core/events/test.fs
index 2aac4f6..f4ffaf3 100644
--- a/tests/fsharp/core/events/test.fs
+++ b/tests/fsharp/core/events/test.fs
@@ -548,5 +548,5 @@ module EventWithNonPublicDelegateTypes_DevDiv271288 =
let _ =
if failures.Length > 0 then (printfn "Tests Failed: %A" failures; exit 1)
else (stdout.WriteLine "Test Passed";
- System.IO.File.ALL_IN_ONE;
+ System.IO.File.WriteAllText("test.ok","ok");
exit 0)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/fsharp.git
More information about the Pkg-cli-apps-commits
mailing list