Minor test tweaks.
This commit is contained in:
parent
4daf50d9ce
commit
14c743e53d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user