Skip to content

Commit

Permalink
SQL-224 slight test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
milt committed Jan 17, 2024
1 parent 63027dc commit fe88b6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/lrsql/util/reaction_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
(r/encode-condition-name "foo")))
(is (not= (r/encode-condition-name "foo")
(r/encode-condition-name "bar"))))
(testing "alphanumeric"
(is (re-matches #"[a-z0-9\_]*" (r/encode-condition-name "foo"))))
(testing "alphanumeric valid col name"
(is (re-matches #"[a-z][a-z0-9\_]*" (r/encode-condition-name "foo"))))
(testing "reversible"
(is (-> "foo"
r/encode-condition-name
Expand Down

0 comments on commit fe88b6a

Please sign in to comment.