mirror of
https://github.com/0x5eal/semver-luau.git
synced 2024-12-13 16:50:35 +00:00
chore(tests): migrate cmp test to use official frktest package
This commit is contained in:
parent
c6e1776c87
commit
7311c439e3
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…
Reference in a new issue