summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-07-02 07:04:49 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-07-02 07:06:47 +0800
commit1ce39f9427b30adccf3e62751625b2296a333ca0 (patch)
tree057bb19431d67d178387990eb6ccbf9fe6aa0778 /tests
parent841a9d55fe1c4d76276616eab17274a45391bdcb (diff)
fix unittests, at least to work locally on MacOS
Diffstat (limited to 'tests')
-rw-r--r--tests/snapshots/failure-no-arguments-multiple-input-paths-some-not-existing7
-rw-r--r--tests/snapshots/success-bytes-binary2
-rw-r--r--tests/snapshots/success-bytes-metric2
-rw-r--r--tests/snapshots/success-no-arguments2
-rw-r--r--tests/snapshots/success-no-arguments-no-sort2
5 files changed, 5 insertions, 10 deletions
diff --git a/tests/snapshots/failure-no-arguments-multiple-input-paths-some-not-existing b/tests/snapshots/failure-no-arguments-multiple-input-paths-some-not-existing
index b7cc56e..e35c8e7 100644
--- a/tests/snapshots/failure-no-arguments-multiple-input-paths-some-not-existing
+++ b/tests/snapshots/failure-no-arguments-multiple-input-paths-some-not-existing
@@ -1,6 +1 @@
- 0.00 B foo <1 IO Error>
- 0.00 B bar <1 IO Error>
- 0.00 B baz <1 IO Error>
- 1.28 MB .
- 1.28 MB .
- 2.56 MB total <3 IO Errors> \ No newline at end of file
+error: No such file or directory (os error 2) \ No newline at end of file
diff --git a/tests/snapshots/success-bytes-binary b/tests/snapshots/success-bytes-binary
index ad370ec..f6c9c89 100644
--- a/tests/snapshots/success-bytes-binary
+++ b/tests/snapshots/success-bytes-binary
@@ -1,4 +1,4 @@
- 0.00 B b.empty
+ 0 B b.empty
4.00 KiB .hidden.666
4.00 KiB a
4.00 KiB z123.b
diff --git a/tests/snapshots/success-bytes-metric b/tests/snapshots/success-bytes-metric
index 298ef0b..b3b6aee 100644
--- a/tests/snapshots/success-bytes-metric
+++ b/tests/snapshots/success-bytes-metric
@@ -1,4 +1,4 @@
- 0.00 B b.empty
+ 0 B b.empty
4.10 KB .hidden.666
4.10 KB a
4.10 KB z123.b
diff --git a/tests/snapshots/success-no-arguments b/tests/snapshots/success-no-arguments
index 298ef0b..b3b6aee 100644
--- a/tests/snapshots/success-no-arguments
+++ b/tests/snapshots/success-no-arguments
@@ -1,4 +1,4 @@
- 0.00 B b.empty
+ 0 B b.empty
4.10 KB .hidden.666
4.10 KB a
4.10 KB z123.b
diff --git a/tests/snapshots/success-no-arguments-no-sort b/tests/snapshots/success-no-arguments-no-sort
index d121db4..e0f47c2 100644
--- a/tests/snapshots/success-no-arguments-no-sort
+++ b/tests/snapshots/success-no-arguments-no-sort
@@ -1,6 +1,6 @@
4.10 KB .hidden.666
4.10 KB a
- 0.00 B b.empty
+ 0 B b.empty
1.27 MB dir
4.10 KB z123.b
1.28 MB total \ No newline at end of file