We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741f99f commit 468b4a3Copy full SHA for 468b4a3
spec/lib/rex/mime/message_spec.rb
@@ -369,8 +369,7 @@
369
end
370
371
let(:regexp_web) do
372
- regex = "\r\n"
373
- regex << "--_Part_.*\r\n"
+ regex = "--_Part_.*\r\n"
374
regex << "Content-Disposition: form-data; name=\"action\"\r\n"
375
regex << "\r\n"
376
regex << "save\r\n"
@@ -388,8 +387,8 @@
388
387
Regexp.new(regex)
389
390
391
- it "returns \\r\\n if Rex::MIME::Message is empty" do
392
- expect(subject.to_s).to eq("\r\n")
+ it "returns empty string if Rex::MIME::Message is empty" do
+ expect(subject.to_s).to be_empty
393
394
395
it "generates valid MIME email messages" do
0 commit comments