Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 21, 2023
1 parent 06751f1 commit 1020d55
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,14 @@ public function test_that_a_documentation_file_can_be_created_and_contains_expec
Filesystem::unlink('_docs/test-page.md');
}


public function test_that_a_markdown_file_can_be_created_with_custom_content()
{
(new CreatesNewPageSourceFile('Test Page', customContent: 'Hello World!'))->save();

$this->assertFileExists(Hyde::path('_pages/test-page.md'));

$this->assertSame(
<<<MARKDOWN
<<<'MARKDOWN'
---
title: 'Test Page'
---
Expand All @@ -151,7 +150,7 @@ public function test_that_a_markdown_file_can_be_created_with_custom_content()
Hello World!

MARKDOWN
,
,
file_get_contents(Hyde::path('_pages/test-page.md'))
);
Filesystem::unlink('_pages/test-page.md');
Expand Down

0 comments on commit 1020d55

Please sign in to comment.