From 08e3d34c7c2da04d0d853e8509ebbac30f33429d Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sat, 3 Aug 2024 20:48:08 +0300 Subject: [PATCH] test --- test/fbe/test_award.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/fbe/test_award.rb b/test/fbe/test_award.rb index 59842de..35f2b1e 100644 --- a/test/fbe/test_award.rb +++ b/test/fbe/test_award.rb @@ -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)