From dda96a14ead970a6ec9fc78c08fed3eb86e1d358 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 12 Apr 2026 19:49:37 +0000 Subject: [PATCH] Switch from MiniTest to Minitest The Minitest alias was added 14 years ago in minitest 2.12.0, they got swapped in 2013 in 5.0.0, and the MiniTest alias inow seems to no longer exist even if I could not find when it went away. --- ruby/t/tc_canvas.rb | 2 +- ruby/t/tc_display.rb | 2 +- ruby/t/tc_dither.rb | 2 +- ruby/t/tc_font.rb | 2 +- ruby/t/tc_frame.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruby/t/tc_canvas.rb b/ruby/t/tc_canvas.rb index ca480ab..31767cc 100644 --- a/ruby/t/tc_canvas.rb +++ b/ruby/t/tc_canvas.rb @@ -1,6 +1,6 @@ require 'caca' -class TC_Canvas < MiniTest::Test +class TC_Canvas < Minitest::Test def setup @c = Caca::Canvas.new(3, 3) end diff --git a/ruby/t/tc_display.rb b/ruby/t/tc_display.rb index 7d0010c..97686ae 100644 --- a/ruby/t/tc_display.rb +++ b/ruby/t/tc_display.rb @@ -1,6 +1,6 @@ require 'caca' -class TC_Canvas < MiniTest::Test +class TC_Canvas < Minitest::Test def test_create d = Caca::Display.new() refute_nil(d, 'Display creation failed') diff --git a/ruby/t/tc_dither.rb b/ruby/t/tc_dither.rb index bdb2956..c5ab27e 100644 --- a/ruby/t/tc_dither.rb +++ b/ruby/t/tc_dither.rb @@ -1,6 +1,6 @@ require 'caca' -class TC_Canvas < MiniTest::Test +class TC_Canvas < Minitest::Test def test_create d = Caca::Dither.new(8, 32, 32, 32, 0, 0, 0, 0) end diff --git a/ruby/t/tc_font.rb b/ruby/t/tc_font.rb index 22915c9..9407b65 100644 --- a/ruby/t/tc_font.rb +++ b/ruby/t/tc_font.rb @@ -1,6 +1,6 @@ require 'caca' -class TC_Canvas < MiniTest::Test +class TC_Canvas < Minitest::Test def test_list refute_nil(Caca::Font.list) end diff --git a/ruby/t/tc_frame.rb b/ruby/t/tc_frame.rb index 4887aed..5834e74 100644 --- a/ruby/t/tc_frame.rb +++ b/ruby/t/tc_frame.rb @@ -1,6 +1,6 @@ require 'caca' -class TC_Frame < MiniTest::Test +class TC_Frame < Minitest::Test def setup @c = Caca::Canvas.new(3, 3) end