@@ -98,12 +98,14 @@ def without_gem(name)
9898 end
9999
100100 test "crash on boot" do
101- app . run app . spring_test_command , env : {
102- "CRASH_ON_BOOT" => "1" ,
103- # If the command is small enough, it might fit in the socket buffer and writing the command won't block.
104- # So we send a big environment variable to better reproduce the problem.
105- "FOO" => "bar" * 4_000 ,
106- }
101+ assert_nothing_raised do
102+ app . run app . spring_test_command , env : {
103+ "CRASH_ON_BOOT" => "1" ,
104+ # If the command is small enough, it might fit in the socket buffer and writing the command won't block.
105+ # So we send a big environment variable to better reproduce the problem.
106+ "FOO" => "bar" * 4_000 ,
107+ }
108+ end
107109 end
108110
109111 test "help message when called without arguments" do
@@ -288,7 +290,7 @@ def exec_name
288290 test "binstub when spring binary is missing" do
289291 begin
290292 File . rename ( app . path ( "bin/spring" ) , app . path ( "bin/spring.bak" ) )
291- assert_failure "bin/rake -T" , stderr : "` load': cannot load such file"
293+ assert_failure "bin/rake -T" , stderr : "load': cannot load such file"
292294 ensure
293295 File . rename ( app . path ( "bin/spring.bak" ) , app . path ( "bin/spring" ) )
294296 end
0 commit comments