mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
Sort requires for test files
This commit is contained in:
parent
155ae550db
commit
42ab2da1ed
9 changed files with 13 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
[tools]
|
[tools]
|
||||||
just = "readysetplay/just@1.8.0"
|
just = "readysetplay/just@1.8.0"
|
||||||
luau-lsp = "JohnnyMorganz/luau-lsp@1.15.0"
|
luau-lsp = "JohnnyMorganz/luau-lsp@1.20.0"
|
||||||
selene = "Kampfkarren/selene@0.24.0"
|
selene = "Kampfkarren/selene@0.24.0"
|
||||||
stylua = "JohnnyMorganz/StyLua@0.16.0"
|
stylua = "JohnnyMorganz/StyLua@0.17.0"
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
column_width = 100
|
column_width = 100
|
||||||
|
|
||||||
line_endings = "Unix"
|
line_endings = "Unix"
|
||||||
|
|
||||||
indent_type = "Tabs"
|
indent_type = "Tabs"
|
||||||
indent_width = 4
|
indent_width = 4
|
||||||
|
|
||||||
quote_style = "AutoPreferDouble"
|
quote_style = "AutoPreferDouble"
|
||||||
|
|
||||||
call_parentheses = "Always"
|
call_parentheses = "Always"
|
||||||
|
|
||||||
|
[sort_requires]
|
||||||
|
enabled = true
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local net = require("@lune/net")
|
local net = require("@lune/net")
|
||||||
local task = require("@lune/task")
|
|
||||||
local process = require("@lune/process")
|
local process = require("@lune/process")
|
||||||
|
local task = require("@lune/task")
|
||||||
|
|
||||||
local PORT = 8080
|
local PORT = 8080
|
||||||
local URL = `http://127.0.0.1:{PORT}`
|
local URL = `http://127.0.0.1:{PORT}`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local net = require("@lune/net")
|
local net = require("@lune/net")
|
||||||
local task = require("@lune/task")
|
|
||||||
local process = require("@lune/process")
|
local process = require("@lune/process")
|
||||||
|
local task = require("@lune/task")
|
||||||
|
|
||||||
local PORT = 8081
|
local PORT = 8081
|
||||||
local URL = `http://127.0.0.1:{PORT}`
|
local URL = `http://127.0.0.1:{PORT}`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local fs = require("@lune/fs")
|
local fs = require("@lune/fs")
|
||||||
local task = require("@lune/task")
|
|
||||||
local process = require("@lune/process")
|
local process = require("@lune/process")
|
||||||
|
local task = require("@lune/task")
|
||||||
|
|
||||||
local function assert(condition, err)
|
local function assert(condition, err)
|
||||||
if not condition then
|
if not condition then
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local task = require("@lune/task")
|
|
||||||
local process = require("@lune/process")
|
local process = require("@lune/process")
|
||||||
|
local task = require("@lune/task")
|
||||||
|
|
||||||
-- Spawning a child process should work with options
|
-- Spawning a child process should work with options
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local stdio = require("@lune/stdio")
|
|
||||||
local process = require("@lune/process")
|
local process = require("@lune/process")
|
||||||
|
local stdio = require("@lune/stdio")
|
||||||
|
|
||||||
stdio.ewrite("Hello, stderr!")
|
stdio.ewrite("Hello, stderr!")
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local task = require("@lune/task")
|
|
||||||
local stdio = require("@lune/stdio")
|
|
||||||
local process = require("@lune/process")
|
local process = require("@lune/process")
|
||||||
|
local stdio = require("@lune/stdio")
|
||||||
|
local task = require("@lune/task")
|
||||||
|
|
||||||
-- NOTE: This test is intentionally not included in the
|
-- NOTE: This test is intentionally not included in the
|
||||||
-- automated tests suite since it requires user input
|
-- automated tests suite since it requires user input
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
local task = require("@lune/task")
|
|
||||||
local stdio = require("@lune/stdio")
|
local stdio = require("@lune/stdio")
|
||||||
|
local task = require("@lune/task")
|
||||||
|
|
||||||
-- Wait should be accurate down to at least 10ms
|
-- Wait should be accurate down to at least 10ms
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue