Update more snapshot tests
timw4mail/php-kilo/pipeline/head This commit looks good Details

This commit is contained in:
Timothy Warren 2021-03-17 15:43:24 -04:00
parent 50151b7e18
commit d92ca27880
3 changed files with 8922 additions and 8885 deletions

View File

@ -41,7 +41,7 @@ class EditorTest extends TestCase {
{
$editor = MockEditor::mock('test.php');
$state = json_encode($editor, JSON_THROW_ON_ERROR);
$state = json_encode($editor->__debugInfo(), JSON_THROW_ON_ERROR);
$this->assertMatchesJsonSnapshot($state);
}
@ -49,7 +49,7 @@ class EditorTest extends TestCase {
{
$editor = MockEditor::mock('src/ffi.h');
$state = json_encode($editor, JSON_THROW_ON_ERROR);
$state = json_encode($editor->__debugInfo(), JSON_THROW_ON_ERROR);
$this->assertMatchesJsonSnapshot($state);
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff