File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,19 @@ class AcronymCase < Generator::ExerciseCase
44 def workload
55 assert_equal ( expected , "Acronym.abbreviate('#{ phrase } ')" )
66 end
7+
8+ def to_s ( *args )
9+ super unless excluded_tests . include? ( test_name )
10+ end
11+
12+ private
13+
14+ # We exclude these tests because they currently don't fit the purpose
15+ # we have for Acronym on the Ruby track.
16+ def excluded_tests
17+ %w(
18+ test_apostrophes
19+ test_underscore_emphasis
20+ )
21+ end
722end
Original file line number Diff line number Diff line change 11require 'minitest/autorun'
22require_relative 'acronym'
33
4- # Common test data version: 1.5 .0 787d24e
4+ # Common test data version: 1.7 .0 cacf1f1
55class AcronymTest < Minitest ::Test
66 def test_basic
77 # skip
You can’t perform that action at this time.
0 commit comments