Просмотр исходного кода

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.
main
Pascal Terjan 1 месяц назад
Родитель
Сommit
dda96a14ea
5 измененных файлов: 5 добавлений и 5 удалений
  1. +1
    -1
      ruby/t/tc_canvas.rb
  2. +1
    -1
      ruby/t/tc_display.rb
  3. +1
    -1
      ruby/t/tc_dither.rb
  4. +1
    -1
      ruby/t/tc_font.rb
  5. +1
    -1
      ruby/t/tc_frame.rb

+ 1
- 1
ruby/t/tc_canvas.rb Просмотреть файл

@@ -1,6 +1,6 @@
require 'caca' require 'caca'


class TC_Canvas < MiniTest::Test
class TC_Canvas < Minitest::Test
def setup def setup
@c = Caca::Canvas.new(3, 3) @c = Caca::Canvas.new(3, 3)
end end


+ 1
- 1
ruby/t/tc_display.rb Просмотреть файл

@@ -1,6 +1,6 @@
require 'caca' require 'caca'


class TC_Canvas < MiniTest::Test
class TC_Canvas < Minitest::Test
def test_create def test_create
d = Caca::Display.new() d = Caca::Display.new()
refute_nil(d, 'Display creation failed') refute_nil(d, 'Display creation failed')


+ 1
- 1
ruby/t/tc_dither.rb Просмотреть файл

@@ -1,6 +1,6 @@
require 'caca' require 'caca'


class TC_Canvas < MiniTest::Test
class TC_Canvas < Minitest::Test
def test_create def test_create
d = Caca::Dither.new(8, 32, 32, 32, 0, 0, 0, 0) d = Caca::Dither.new(8, 32, 32, 32, 0, 0, 0, 0)
end end


+ 1
- 1
ruby/t/tc_font.rb Просмотреть файл

@@ -1,6 +1,6 @@
require 'caca' require 'caca'


class TC_Canvas < MiniTest::Test
class TC_Canvas < Minitest::Test
def test_list def test_list
refute_nil(Caca::Font.list) refute_nil(Caca::Font.list)
end end


+ 1
- 1
ruby/t/tc_frame.rb Просмотреть файл

@@ -1,6 +1,6 @@
require 'caca' require 'caca'


class TC_Frame < MiniTest::Test
class TC_Frame < Minitest::Test
def setup def setup
@c = Caca::Canvas.new(3, 3) @c = Caca::Canvas.new(3, 3)
end end


Загрузка…
Отмена
Сохранить