summaryrefslogtreecommitdiff
path: root/t/util.lisp
blob: ef59fbb4a7bee1703c10f069dc128a12f7264d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(in-package #:rva-tests)

(def-suite util-tests
  :description "Test functions designated as miscellaneous."
  :in all-tests)

(in-suite util-tests)

(test asm-extension?-returns-false-obvious-case
      (is (not (util:asm-extension? "quux.c"))))

(test asm-extension?-returns-false-pattern-match-case
      (is (not (util:asm-extension? "quux.asm.c"))))

(test asm-extension?-returns-true-obvious-case
      (is (util:asm-extension? "quux.asm")))