lib/exercism/submission.rb in exercism-0.0.24 vs lib/exercism/submission.rb in exercism-0.0.25

- old
+ new

@@ -8,20 +8,27 @@ attr_reader :file def initialize(file) @file = file end + def path + File.absolute_path(file) + end + def test? test_identifiers.any? do |_, suffix| file.end_with?(suffix) end end def test_identifiers { :ruby => '_test.rb', :js => '.spec.js', - :elixir => '_test.exs' + :elixir => '_test.exs', + :clojure => '_test.clj', + :python => '_test.py', + :go => '_test.go', } end end end