mirror of
https://github.com/0x5eal/semver-luau.git
synced 2025-03-04 11:11:39 +00:00
chore(tests): migrate cmp test to use official frktest package
This commit is contained in:
parent
6365b4121e
commit
7f30ca3df6
1 changed files with 83 additions and 92 deletions
|
@ -1,4 +1,4 @@
|
||||||
local frktest = require("../lune_packages/frktest").core
|
local frktest = require("@pkg/frktest")
|
||||||
local test = frktest.test
|
local test = frktest.test
|
||||||
local check = frktest.assert.check
|
local check = frktest.assert.check
|
||||||
|
|
||||||
|
@ -7,15 +7,6 @@ type Option<T> = Option.Option<T>
|
||||||
|
|
||||||
local Semver = require("../lib")
|
local Semver = require("../lib")
|
||||||
|
|
||||||
local function t<K, V, T>(this: { [any]: any } | T, that: { [any]: any } | T) end
|
|
||||||
t(Option.Some("x"), Option.Some("x"))
|
|
||||||
|
|
||||||
t({
|
|
||||||
str = 1,
|
|
||||||
}, {
|
|
||||||
[true] = 1,
|
|
||||||
})
|
|
||||||
|
|
||||||
return function()
|
return function()
|
||||||
test.suite("Semver comparison tests", function()
|
test.suite("Semver comparison tests", function()
|
||||||
test.case("Basic version comparisons", function()
|
test.case("Basic version comparisons", function()
|
||||||
|
|
Loading…
Add table
Reference in a new issue