build: added selene

This commit is contained in:
Folke Lemaitre 2022-12-01 08:38:18 +01:00
parent 2d676b35d2
commit 44b6e54dcb
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 47 additions and 0 deletions

1
selene.toml Normal file
View File

@ -0,0 +1 @@
std="vim"

46
vim.toml Normal file
View File

@ -0,0 +1,46 @@
[selene]
base = "lua51"
name = "vim"
[vim]
any = true
[[describe.args]]
type = "string"
[[describe.args]]
type = "function"
[[it.args]]
type = "string"
[[it.args]]
type = "function"
[[before_each.args]]
type = "function"
[[after_each.args]]
type = "function"
[assert.is_not]
any = true
[[assert.equals.args]]
type = "any"
[[assert.equals.args]]
type = "any"
[[assert.equals.args]]
type = "any"
required = false
[[assert.same.args]]
type = "any"
[[assert.same.args]]
type = "any"
[[assert.truthy.args]]
type = "any"
[[assert.spy.args]]
type = "any"
[[assert.stub.args]]
type = "any"