Skip to content

Commit b0812f4

Browse files
committed
Cover some framework changes
1 parent 1d99037 commit b0812f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/MiddlewareAndComponentTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function it_sends_a_simple_request_with_no_response()
6161

6262
$this->assertEquals(
6363
'<code class="" style="">echo &quot;hello world&quot;;</code>',
64-
$response->content()
64+
rtrim($response->content())
6565
);
6666

6767
Http::assertSent(function ($request) {
@@ -84,7 +84,7 @@ public function it_sends_a_simple_request_with_highlighted_response()
8484

8585
$this->assertEquals(
8686
'<code class="torchlight" style="background-color: #292D3E;">this is the highlighted response from the server</code>',
87-
$response->content()
87+
rtrim($response->content())
8888
);
8989
}
9090

@@ -97,7 +97,7 @@ public function classes_get_merged()
9797

9898
$this->assertEquals(
9999
'<code class="torchlight mt-4" style="background-color: #292D3E;">this is the highlighted response from the server</code>',
100-
$response->content()
100+
rtrim($response->content())
101101
);
102102
}
103103

@@ -110,7 +110,7 @@ public function attributes_are_preserved()
110110

111111
$this->assertEquals(
112112
'<code class="torchlight" style="background-color: #292D3E;" x-data="{}">this is the highlighted response from the server</code>',
113-
$response->content()
113+
rtrim($response->content())
114114
);
115115
}
116116

0 commit comments

Comments
 (0)