Skip to content

Commit d8fa9f5

Browse files
Copilotjackfirth
andcommitted
Remove redundant test for natural<=> comparator
Co-authored-by: jackfirth <[email protected]>
1 parent fefb9cd commit d8fa9f5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

private/syntax-path.rkt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -945,21 +945,6 @@
945945
['< lesser]))))
946946

947947

948-
(module+ test
949-
(test-case "natural<=>"
950-
(define unsorted
951-
(list 2 5 1 3 42 0))
952-
953-
(define sorted
954-
(sort unsorted (λ (a b) (compare-infix natural<=> a < b))))
955-
956-
(define expected
957-
(list 0 1 2 3 5 42))
958-
(check-equal? sorted expected)))
959-
960-
961-
962-
963948
(define syntax-path<=>
964949
(comparator-map (lexicographic-comparator natural<=>) syntax-path-elements
965950
#:name 'syntax-path<=>))

0 commit comments

Comments
 (0)