Minor test tweaks.

This commit is contained in:
John Wiseman 2020-01-08 22:58:17 -08:00
parent 4daf50d9ce
commit 14c743e53d

View File

@ -129,7 +129,7 @@
nearby [] nearby []
desc (circlebot/generate-description ac sqb reverse wiki-nearby nearby)] desc (circlebot/generate-description ac sqb reverse wiki-nearby nearby)]
(is (re-find #"NBADB0Y" desc)) (is (re-find #"NBADB0Y" desc))
(is (re-find #"B52" desc)) (is (re-find #"a B52" desc))
(is (re-find #"Silver Lake.*Los Angeles" desc)) (is (re-find #"Silver Lake.*Los Angeles" desc))
(is (re-find #"#NBADB0Y" desc)))) (is (re-find #"#NBADB0Y" desc))))
(testing "Missing ADSBX registration" (testing "Missing ADSBX registration"
@ -141,7 +141,7 @@
nearby {:name "Disneyland" :distance 2} nearby {:name "Disneyland" :distance 2}
desc (circlebot/generate-description ac sqb reverse wiki-nearby nearby)] desc (circlebot/generate-description ac sqb reverse wiki-nearby nearby)]
(is (re-find #"NGOODB0Y" desc)) (is (re-find #"NGOODB0Y" desc))
(is (re-find #"B52" desc)) (is (re-find #"a B52" desc))
(is (re-find #"Silver Lake.*Los Angeles" desc)) (is (re-find #"Silver Lake.*Los Angeles" desc))
(is (re-find #"#NGOODB0Y" desc)))) (is (re-find #"#NGOODB0Y" desc))))
(testing "foo" (testing "foo"