Ryan Liptak 077b003c50 std.compress: Improve tests, remove reliance on openDirAbsolute
- Previously, some of the compress tests used `@src()` in combination with `dirname` and `openDirAbsolute` to read test files at runtime, which both excludes platforms that `openDirAbsolute` is not implemented for (WASI) and platforms that `SourceLocation.file` is not absolute (this was true for me locally on Windows). Instead of converting the tests to use `fs.cwd().openDir`, they have been converted to use `@embedFile` to avoid any potential problems with the runtime cwd.
- In order to use `@embedFile`, some of the `[]u8` parameters needed to be changed to `[]const u8`; none of them needed to be non-const anyway
- The tests now use `expectEqual` and `expectEqualSlices` where appropriate for better diagnostics
2022-12-15 05:13:21 -05:00
..
2022-12-13 15:37:52 -05:00
2022-12-14 14:26:02 -07:00
2022-12-13 13:14:20 +02:00
2022-12-14 14:26:02 -07:00
2022-12-14 11:42:28 -05:00
2022-11-30 15:42:59 -07:00
2022-10-06 21:22:20 +03:00
2022-12-14 00:29:25 +00:00
2022-12-13 15:04:03 -05:00
2022-12-14 11:42:28 -05:00
2022-12-13 13:14:20 +02:00
2022-12-11 12:48:18 -07:00
2022-12-09 21:57:17 +01:00
2022-11-04 00:09:27 +03:30
2022-12-14 11:42:28 -05:00
2022-12-13 13:14:20 +02:00
2022-12-14 14:26:02 -07:00
2022-12-06 12:27:28 -07:00
2022-09-11 23:18:43 -04:00
2022-12-13 15:13:25 -05:00
2022-12-13 13:14:20 +02:00
2022-11-23 19:17:58 +01:00
2022-12-13 13:14:20 +02:00
2022-04-15 17:01:01 -05:00