Debian Codegraph @

test/gallery/bad_test.rb

raw
1 require_relative "../test_helper"
2
3 module MinitestReportersTest
4 class BadTest < TestCase
5 def test_a
6 assert_equal 1, 2
7 end
8
9 def test_b
10 assert false # simple failure
11 end
12
13 def test_b
14 assert_equal "ab\nc", "ab\nd" # some nice diff
15 end
16
17 def test_boom
18 raise "A random exception"
19 end
20
21 def test_long_method_name
22 skip
23 end
24 end
25 end