Skip to content

Commit

Permalink
Add not-strictly-necessary backslash to avoid ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Apr 29, 2021
1 parent 7f267fb commit bc51d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/PHPMailerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ public function testAltBodyAttachment()
}

//Test using non-existent UNC path
self::assertFalse($this->Mail->addAttachment('\\\\nowhere\nothing'));
self::assertFalse($this->Mail->addAttachment('\\\\nowhere\\nothing'));

$this->buildBody();
self::assertTrue($this->Mail->send(), $this->Mail->ErrorInfo);
Expand Down

0 comments on commit bc51d1f

Please sign in to comment.