minitest.rb 430 B

12345678910111213141516171819202122
  1. # -*- coding: utf-8 -*-
  2. # -*- frozen_string_literal: true -*-
  3. require "minitest/autorun"
  4. require "minitest/pride"
  5. require "minitest/proveit"
  6. require "minitest/unordered"
  7. require_relative "./../../_expand_lib_path"
  8. ENV["LORCA_ENV"] = "test"
  9. class Minitest::Test
  10. make_my_diffs_pretty!
  11. prove_it!
  12. end
  13. module Minitest::Assertions
  14. def assert_frozen obj
  15. assert obj.frozen?, "Expected #{obj.inspect} to be frozen"
  16. end
  17. end