Skip to content

Commit 5b28b91

Browse files
committed
Test only on Ubuntu
1 parent d24b516 commit 5b28b91

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/bb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, macOS-latest, windows-latest]
11+
os: [ubuntu-latest]
1212

1313
runs-on: ${{ matrix.os }}
1414

test/lambdaisland/deep_diff2/printer_test.cljc

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
(ns lambdaisland.deep-diff2.printer-test
22
(:require [clojure.test :refer [deftest testing is are]]
33
[lambdaisland.deep-diff2.diff-impl :as diff]
4-
[lambdaisland.deep-diff2.printer-impl :as printer]
5-
[clojure.string :as str])
4+
[lambdaisland.deep-diff2.printer-impl :as printer])
65
#?(:clj
76
(:import (java.sql Timestamp)
87
(java.util Date
@@ -26,11 +25,9 @@
2625

2726
(deftest print-doc-test
2827
(testing "date"
29-
(let [expected "\u001B[31m-#inst \"2019-04-09T14:57:46.128-00:00\"\u001B[0m \u001B[32m+#inst \"2019-04-10T14:57:46.128-00:00\"\u001B[0m\n"]
30-
(is (= expected
31-
(str/replace (printed (diff/diff #inst "2019-04-09T14:57:46.128-00:00"
32-
#inst "2019-04-10T14:57:46.128-00:00"))
33-
"\r\n" "\n")))))
28+
(is (= "\u001B[31m-#inst \"2019-04-09T14:57:46.128-00:00\"\u001B[0m \u001B[32m+#inst \"2019-04-10T14:57:46.128-00:00\"\u001B[0m\n"
29+
(printed (diff/diff #inst "2019-04-09T14:57:46.128-00:00"
30+
#inst "2019-04-10T14:57:46.128-00:00")))))
3431

3532
#?(:bb nil ;; bb TimeStamp constructor not included as of 1.0.166
3633
:clj

0 commit comments

Comments
 (0)