Sort requires for test files

This commit is contained in:
Filip Tibell 2023-06-08 11:21:00 +02:00
parent 155ae550db
commit 42ab2da1ed
No known key found for this signature in database
9 changed files with 13 additions and 14 deletions

View file

@ -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"

View file

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

View file

@ -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}`

View file

@ -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}`

View file

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

View file

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

View file

@ -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!")

View file

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

View file

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