Skip to content

Commit e5bb3b1

Browse files
authored
Merge pull request dm3#73 from FieryCod/partial-tests-fix-v2
Make tests run
2 parents 351fb24 + 30d108f commit e5bb3b1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/java_time/core.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@
170170
(before? y (first more)))
171171
false)))
172172

173-
(def not-after?
174-
"Similar to [[before?]], but also returns truthy if the inputs are equal."
175-
(complement after?))
176-
177173
(defn after?
178174
"Returns a truthy value if time entities are ordered from the latest to the
179175
earliest (same semantics as `>`):
@@ -193,6 +189,10 @@
193189
(after? y (first more)))
194190
false)))
195191

192+
(def not-after?
193+
"Similar to [[before?]], but also returns truthy if the inputs are equal."
194+
(complement after?))
195+
196196
(def not-before?
197197
"Similar to [[after?]], but also returns truthy if the inputs are equal."
198198
(complement before?))

test/java_time_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@
904904
(is (not (j/not-after? interval-3-4 interval-1-2)))
905905
(is (j/not-after? interval-1-2 instant-1))
906906
(is (j/not-after? interval-1-2 instant-3))
907-
(is (not (j/not-after? interval-3-4 instant-1)))))
907+
(is (not (j/not-after? interval-3-4 instant-1))))))
908908

909909
(jt.u/when-joda-time-loaded
910910

0 commit comments

Comments
 (0)