move expect.lua from internal/ to test_util/

develop
myk002 2021-04-03 15:56:51 -07:00
parent c8abecd082
commit 13ca7f8c9e
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
3 changed files with 3 additions and 3 deletions

@ -1,7 +1,7 @@
-- DFHack developer test harness
--@ module = true
local expect = require 'internal.expect'
local expect = require 'test_util.expect'
local json = require 'json'
local script = require 'gui.script'
local utils = require 'utils'

@ -5,7 +5,7 @@
-- these functions directly will not work as expected.
local expect = mkmodule('internal.expect')
local expect = mkmodule('test_util.expect')
function expect.true_(value, comment)
return not not value, comment, 'expected true, got ' .. tostring(value)

@ -1,4 +1,4 @@
local expect_raw = require('internal.expect')
local expect_raw = require('test_util.expect')
function test.table_eq()
expect.true_(expect_raw.table_eq({}, {}))