Skip to content

Commit bf46ffc

Browse files
authored
Update test_helper.rb
1 parent 4066b26 commit bf46ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def metadata_for(dir, name)
2929

3030
begin
3131
YAML.safe_load(parts[1])
32-
rescue Psych::SyntaxError => ex
33-
flunk "invalid YAML: #{ex.message}"
32+
rescue Psych::SyntaxError => error
33+
flunk "invalid YAML: #{error.message}"
3434
end
3535
end
3636

0 commit comments

Comments
 (0)