@@ -98,12 +98,14 @@ def without_gem(name)
98
98
end
99
99
100
100
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
107
109
end
108
110
109
111
test "help message when called without arguments" do
@@ -288,7 +290,7 @@ def exec_name
288
290
test "binstub when spring binary is missing" do
289
291
begin
290
292
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"
292
294
ensure
293
295
File . rename ( app . path ( "bin/spring.bak" ) , app . path ( "bin/spring" ) )
294
296
end
0 commit comments