futo-spec 0.4.99.1 → 0.4.99.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/context_breakpoint.rb +1 -0
- data/lib/futo-spec.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b947d052eb4556800126aecfb5e4c8c43b654f85510091980205ff28fc01a1b4
|
4
|
+
data.tar.gz: 0ea486f03061cbfc41e49428c979a637cbcdacbe62e4704583793a2258557c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b21422cb0e2d2ed8d118aa1718cfe3b66c0d5e4a2c026342c669fa684ffabc5f762cb47a6dd29e076d468d41deaab3015f1a200b847a71cafbd47d656c704253
|
7
|
+
data.tar.gz: 8155f77442bad2a06ca8c71a9c220169a528b01094e761a0bf3c98136dc10a71ba7683b770c6d3ea322ed7e8c6aed3853b8ed4feeb3742e92009e9804ab5f87c
|
data/lib/context_breakpoint.rb
CHANGED
data/lib/futo-spec.rb
CHANGED
@@ -511,7 +511,10 @@ class FutoSpec
|
|
511
511
|
dpa "result: #{result}"
|
512
512
|
if cmd.include? '='
|
513
513
|
new_var = cmd.split('=').first.rstrip
|
514
|
-
|
514
|
+
unless new_var.include? '@' or new_var.include? '$'
|
515
|
+
# don't store @ vars as a local var
|
516
|
+
local_vars.store(new_var, result)
|
517
|
+
end
|
515
518
|
end
|
516
519
|
rescue RSpec::Expectations::ExpectationNotMetError => e
|
517
520
|
pa e, COLORS[:error], :bright
|