Skip to content

Commit

Permalink
Merge pull request #5930 from NoahTheDuke/nb/fix-broken-tests
Browse files Browse the repository at this point in the history
Fix broken tests on master due to merges
  • Loading branch information
NoahTheDuke authored Jun 1, 2021
2 parents 8f9d2e7 + f6ec278 commit 276c11e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/clj/game/cards/hardware_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3187,7 +3187,7 @@
(card-ability state :runner (get-hardware state 0) 1)
(click-prompt state :runner "Yes")
(is (prompt-is-type? state :runner :select))
(is (= "Select a credit providing card (0 of 1 credits)" (:msg (prompt-map :runner)))
(is (= "Select a credit providing card (0 of 1 [Credits])" (:msg (prompt-map :runner)))
"Credit selection prompt is opened"))))

(deftest public-terminal
Expand Down
6 changes: 3 additions & 3 deletions test/clj/game/cards/programs_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3724,7 +3724,7 @@
"Using recurring credits"
(card-ability state :runner mis 0)
(click-prompt state :runner "2")
(is (= "Select a credit providing card (0 of 2 credits)"
(is (= "Select a credit providing card (0 of 2 [Credits])"
(:msg (prompt-map :runner)))
"Runner has pay-credit prompt")
(click-card state :runner multi)
Expand All @@ -3746,7 +3746,7 @@
"Using recurring credits and credits from credit pool"
(card-ability state :runner mis 0)
(click-prompt state :runner "4")
(is (= "Select a credit providing card (0 of 4 credits)"
(is (= "Select a credit providing card (0 of 4 [Credits])"
(:msg (prompt-map :runner)))
"Runner has pay-credit prompt")
(click-card state :runner mantle))
Expand Down Expand Up @@ -3817,7 +3817,7 @@
(changes-val-macro 0 (:credit (get-runner))
"Used 2 credits from Multithreader"
(card-ability state :runner ab 1)
(is (= "Select a credit providing card (0 of 2 credits)"
(is (= "Select a credit providing card (0 of 2 [Credits])"
(:msg (prompt-map :runner)))
"Runner has pay-credit prompt")
(click-card state :runner mt)
Expand Down

0 comments on commit 276c11e

Please sign in to comment.