diff --git a/lib/a_division_by_zero_error.rb b/lib/a_division_by_zero_error.rb index fa27ef3..bbeda3d 100644 --- a/lib/a_division_by_zero_error.rb +++ b/lib/a_division_by_zero_error.rb @@ -1,3 +1,3 @@ 42 / 6 -42 / 0 +42 / 7 diff --git a/lib/a_name_error.rb b/lib/a_name_error.rb index bad266d..b6a3182 100644 --- a/lib/a_name_error.rb +++ b/lib/a_name_error.rb @@ -1,3 +1,3 @@ -"hello world" +puts "hello world" -hello_world +hello_world = 2 diff --git a/lib/a_syntax_error.rb b/lib/a_syntax_error.rb index 5252c8f..26b7cb7 100644 --- a/lib/a_syntax_error.rb +++ b/lib/a_syntax_error.rb @@ -1,3 +1,3 @@ x = 1 -x = +x = 3 diff --git a/lib/a_type_error.rb b/lib/a_type_error.rb index 1217fd5..d5f49e2 100644 --- a/lib/a_type_error.rb +++ b/lib/a_type_error.rb @@ -1,3 +1,3 @@ 1 + 1 -1 + "is the loneliest number" +1 + 3