Skip to content

Commit 30fc3c7

Browse files
committed
Eliminate test coverage requirement for this exception handling code
1 parent c845bb9 commit 30fc3c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/octocatalog-diff/util/util.rb

+2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ def self.object_is_any_of?(object, classes)
2727
def self.safe_dup(object)
2828
object.dup
2929
rescue TypeError
30+
# :nocov:
3031
object
32+
# :nocov:
3133
end
3234

3335
# Utility Method!

0 commit comments

Comments
 (0)