Skip to content

Commit

Permalink
Update to use Minitest 5.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Jan 3, 2024
1 parent bf81226 commit 5645955
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/testup/core.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#-------------------------------------------------------------------------------
#
# Copyright 2013-2018 Trimble Inc.
# Copyright 2013-2024 Trimble Inc.
# License: The MIT License (MIT)
#
#-------------------------------------------------------------------------------
Expand All @@ -9,7 +9,9 @@

# TODO: Defer this to a point so it doesn't happen during SketchUp startup.
require 'testup/gem_helper'
TestUp::GemHelper.require('minitest', 'minitest', version: '5.4.3')

# Minitest 5.15.0 is compatible with Ruby '>= 2.2, < 4.0', released 15-Dec-2021
TestUp::GemHelper.require('minitest', 'minitest', version: '5.15.0')

require 'testup/ui/runner' if defined?(UI::WebDialog)
require 'testup/app'
Expand Down
4 changes: 2 additions & 2 deletions src/testup/file_reporter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#-------------------------------------------------------------------------------
#
# Copyright 2013-2016 Trimble Inc.
# Copyright 2013-2024 Trimble Inc.
# License: The MIT License (MIT)
#
#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -85,7 +85,7 @@ def report

def record(result)
super
io.puts "%s#%s = %.2f s = %s" % [result.class,
io.puts "%s#%s = %.2f s = %s" % [result.klass,
result.name,
result.time,
result.result_code]
Expand Down
Binary file added src/testup/gems/minitest-5.15.0.gem
Binary file not shown.
Binary file removed src/testup/gems/minitest-5.4.3.gem
Binary file not shown.
4 changes: 2 additions & 2 deletions src/testup/reporter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#-------------------------------------------------------------------------------
#
# Copyright 2013-2018 Trimble Inc.
# Copyright 2013-2024 Trimble Inc.
# License: The MIT License (MIT)
#
#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -58,7 +58,7 @@ def record(result)

def process_results(result)
{
test_case_name: result.class.name,
test_case_name: result.klass,
test_name: result.name,
run_time: result.time,
skipped: result.skipped?,
Expand Down

0 comments on commit 5645955

Please sign in to comment.