Skip to content

Commit acc876a

Browse files
author
Tod Beardsley
committed
Land rapid7#3176 because wvu is smarter than me
2 parents e3dda2e + 92c6113 commit acc876a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/rex/text_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
let (:sample_text) { "The quick brown sploit jumped over the lazy A/V" }
119119
let (:spaced_text) { described_class.randomize_space(sample_text) }
120120
it "should return a string with at least one new space characater" do
121-
spaced_text.should match /\x09\x0d\x0a/
121+
spaced_text.should match /[\x09\x0d\x0a]/
122122
end
123123

124124
it "should not otherwise be mangled" do

0 commit comments

Comments
 (0)