Skip to content

Commit 629e810

Browse files
committed
Fix windows issues with nicetest
1 parent 391d583 commit 629e810

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
44

55
gemspec
66

7-
gem 'nicetest'
7+
gem 'minitest'
88
gem 'rake', '~> 13.0'
99
gem 'rake-compiler'
1010
gem 'rb_sys', '~> 0.9'

Rakefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
require 'bundler/gem_tasks'
44
require 'rb_sys/extensiontask'
5+
require "minitest/test_task"
56

67
GEMSPEC = Gem::Specification.load('oxi-test.gemspec') || abort('Could not load oxi-test.gemspec')
78

89
RbSys::ExtensionTask.new('oxi-test', GEMSPEC) do |ext|
910
ext.lib_dir = 'lib/oxi/test'
1011
end
1112

12-
task :ruby_test do
13-
sh('bin/test', '--reporter', 'spec')
14-
end
13+
Minitest::TestTask.create :ruby_test
1514

1615
task :fmt do
1716
sh 'cargo', 'fmt'

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
44

55
require 'oxi/test'
6-
require 'nicetest'
6+
require 'minitest/autorun'

0 commit comments

Comments
 (0)