Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 3, 2024
1 parent e055674 commit 08e3d34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/fbe/test_award.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def test_some_terms
def test_some_greetings
{
'(award (give (times 5 0.25 "fun")))' => 'You\'ve earned +1 points. ',
'(award (give 25 "for being a good boy"))' => 'You\'ve earned +25 points. '
'(award (give 25 "for being a good boy"))' => 'You\'ve earned +25 points. ',
'(award (let x 0.1) (set b (times x 14)) (give b "fun"))' => 'You\'ve earned +1 points. '
}.each do |q, v|
a = Fbe::Award.new(q)
assert_equal(v, a.bill.greeting, q)
Expand Down

1 comment on commit 08e3d34

@0crat
Copy link

@0crat 0crat commented on 08e3d34 Aug 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegor256 It is not a good idea to push directly to the default branch master. You've earned -20 points. Next time, create a new branch, push your changes over there, then make a pull request and merge it. Even if you are flying solo, contributing via pull requests is a good practice. Your running balance is -413.

Please sign in to comment.