Skip to content

Commit

Permalink
Merge pull request #2 from wallacebilly1/fix/fix_tests
Browse files Browse the repository at this point in the history
Fix/fix tests
  • Loading branch information
wallacebilly1 committed Feb 6, 2024
2 parents 801f2cf + 7258754 commit a0f830e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/round.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def current_card

def take_turn(guess)
current_turn = Turn.new(guess, current_card)
current_turn.feedback
puts current_turn.feedback
@turns << current_turn
if current_turn.correct?
@number_correct += 1
Expand Down
4 changes: 2 additions & 2 deletions lib/turn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def correct?

def feedback
if correct? == true
puts "Correct!"
"Correct!"
else
puts "Incorrect."
"Incorrect."
end
end
end

0 comments on commit a0f830e

Please sign in to comment.