test/logger_test.rb in semantic_logger-2.21.0 vs test/logger_test.rb in semantic_logger-3.0.0
- old
+ new
@@ -24,10 +24,10 @@
# Use this test's class name as the application name in the log output
@logger = SemanticLogger[LoggerTest]
@hash = {session_id: 'HSSKLEU@JDK767', tracking_number: 12345}
@hash_str = @hash.inspect.sub("{", "\\{").sub("}", "\\}")
@thread_name = Thread.current.name
- @file_name_reg_exp = RUBY_VERSION.to_f <= 2.0 ? ' (mock|logger_test).rb:\d+' : ' logger_test.rb:\d+'
+ @file_name_reg_exp = ' logger_test.rb:\d+'
assert_equal [], @logger.tags
assert_equal 65535, SemanticLogger.backtrace_level_index
end