diff --git a/lib/a_division_by_zero_error.rb b/lib/a_division_by_zero_error.rb index fa27ef36..6341e1cf 100644 --- a/lib/a_division_by_zero_error.rb +++ b/lib/a_division_by_zero_error.rb @@ -1,3 +1 @@ 42 / 6 - -42 / 0 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb index bad266d9..cd4bc1ab 100644 --- a/lib/a_name_error.rb +++ b/lib/a_name_error.rb @@ -1,3 +1 @@ "hello world" - -hello_world diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb index 5252c8f7..7d4290a1 100644 --- a/lib/a_syntax_error.rb +++ b/lib/a_syntax_error.rb @@ -1,3 +1 @@ x = 1 - -x = diff --git a/lib/a_type_error.rb b/lib/a_type_error.rb index 1217fd52..8d2f0971 100644 --- a/lib/a_type_error.rb +++ b/lib/a_type_error.rb @@ -1,3 +1 @@ 1 + 1 - -1 + "is the loneliest number" diff --git a/spec/no_ruby_errors_spec.rb b/spec/no_ruby_errors_spec.rb index d439bbeb..3d197251 100644 --- a/spec/no_ruby_errors_spec.rb +++ b/spec/no_ruby_errors_spec.rb @@ -31,4 +31,4 @@ }.to_not raise_error end end -end \ No newline at end of file +end