-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,13 +53,13 @@ public function email_address_with_non_allowed_prefix_is_stripped_off() | |
/** @test */ | ||
public function a_quoted_name_should_be_unquoted() | ||
{ | ||
$c = new Contact('"John"', '[email protected]', 'hash'); | ||
$this->assertEquals('John', $c->name); | ||
$this->assertEquals('John <[email protected]>', $c->full); | ||
$c = new Contact('"John"', '[email protected]', 'hash'); | ||
$this->assertEquals('John', $c->name); | ||
$this->assertEquals('John <[email protected]>', $c->full); | ||
|
||
$c = new Contact("'John'", '[email protected]', 'hash'); | ||
$this->assertEquals('John', $c->name); | ||
$this->assertEquals('John <[email protected]>', $c->full); | ||
$c = new Contact("'John'", '[email protected]', 'hash'); | ||
$this->assertEquals('John', $c->name); | ||
$this->assertEquals('John <[email protected]>', $c->full); | ||
} | ||
|
||
/** @test */ | ||
|