chore(tests): migrate cmp test to use official frktest package

This commit is contained in:
Erica Marigold 2024-11-12 20:22:17 +05:30 committed by GitHub
parent c6e1776c87
commit 7311c439e3

View file

@ -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()