Exception: Tunit::Empty

Inherits:
Assertion show all
Defined in:
lib/tunit/assertion_errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Assertion

#error

Instance Attribute Details

#locationObject

Where was the empty test



27
28
29
# File 'lib/tunit/assertion_errors.rb', line 27

def location
  @location
end

Instance Method Details

#result_codeObject



29
30
31
# File 'lib/tunit/assertion_errors.rb', line 29

def result_code
  "_"
end

#result_labelObject



33
34
35
# File 'lib/tunit/assertion_errors.rb', line 33

def result_label
  "Empty"
end