Skip to content

Commit e243814

Browse files
Update example
1 parent 2821b3a commit e243814

7 files changed

+3
-3
lines changed

example/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"spatie/phpunit-snapshot-assertions": "^0.3.0",
3+
"spatie/phpunit-snapshot-assertions": "^0.4.0",
44
"phpunit/phpunit": "^6.0"
55
}
66
}

example/tests/ExampleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ExampleTest extends TestCase
99

1010
public function test_it_matches_a_string()
1111
{
12-
$this->assertMatchesSnapshot('foo');
12+
$this->assertMatchesSnapshot('bar');
1313
}
1414

1515
public function test_it_matches_an_array()

example/tests/__snapshots__/ExampleTest__test_it_matches_a_string.php

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return 'bar';

0 commit comments

Comments
 (0)