diff options
Diffstat (limited to 'ldc-disable-tests.patch')
-rw-r--r-- | ldc-disable-tests.patch | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ldc-disable-tests.patch b/ldc-disable-tests.patch index 1e13ea6..67f55e3 100644 --- a/ldc-disable-tests.patch +++ b/ldc-disable-tests.patch @@ -1,5 +1,5 @@ diff --git a/std/datetime.d b/std/datetime.d -index 8e4ed3b..1be9099 100644 +index 8e4ed3b..4a733e6 100644 --- a/std/datetime.d +++ b/std/datetime.d @@ -28018,6 +28018,7 @@ public: @@ -10,6 +10,15 @@ index 8e4ed3b..1be9099 100644 enum defaultTZDatabaseDir = "/usr/share/zoneinfo/"; } else version(Windows) +@@ -28076,7 +28077,7 @@ assert(tz.dstName == "PDT"); + + immutable file = buildNormalizedPath(tzDatabaseDir, name); + +- enforce(file.exists(), new DateTimeException(format("File %s does not exist.", file))); ++ enforce(file.exists(), new DateTimeException(format("File %s does not exist in %s.", file, tzDatabaseDir))); + enforce(file.isFile, new DateTimeException(format("%s is not a file.", file))); + + auto tzFile = File(file); diff --git a/std/path.d b/std/path.d index 254d8f0..b0fc04d 100644 --- a/std/path.d |