aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch')
-rw-r--r--dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch b/dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch
deleted file mode 100644
index 5b67c5d..0000000
--- a/dev-lang/ldc2/files/ldc2-1.36.0-fix-phobos-OS-dependent-test-string.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/runtime/phobos/std/file.d b/runtime/phobos/std/file.d
-index 5b8925d..f1b19b3 100644
---- a/runtime/phobos/std/file.d
-+++ b/runtime/phobos/std/file.d
-@@ -1082,6 +1082,7 @@ private void removeImpl(scope const(char)[] name, scope const(FSChar)* namez) @t
-
- @safe unittest
- {
-+ import std.algorithm.searching : startsWith;
- import std.exception : collectExceptionMsg, assertThrown;
-
- string filename = null; // e.g. as returned by File.tmpfile.name
-@@ -1090,12 +1091,10 @@ private void removeImpl(scope const(char)[] name, scope const(FSChar)* namez) @t
- {
- // exact exception message is OS-dependent
- auto msg = filename.remove.collectExceptionMsg!FileException;
-- assert("Failed to remove file (null): Bad address" == msg, msg);
-+ assert(msg.startsWith("Failed to remove file (null):"), msg);
- }
- else version (Windows)
- {
-- import std.algorithm.searching : startsWith;
--
- // don't test exact message on windows, it's language dependent
- auto msg = filename.remove.collectExceptionMsg!FileException;
- assert(msg.startsWith("(null):"), msg);