Skip to content

chore(deps): update rust crate stylua to 0.20.0 #2

chore(deps): update rust crate stylua to 0.20.0

chore(deps): update rust crate stylua to 0.20.0 #2

Triggered via pull request February 29, 2024 15:59
Status Failure
Total duration 1m 50s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
deno-test
Process completed with exit code 1.
error: expect(received).toBe(expected): crates/lua_fmt/test_bun/bun.spec.ts#L48
Expected: "-- https://github.com/JohnnyMorganz/StyLua/issues/830\nlocal a_very_long_variable_name_given_that_is_bigger_than_width_upper_limit_but_unfortunately_can_not_be_made_shorter = function(\n)\n\tprint(\"Hello\")\nend\n" Received: "-- https://github.com/JohnnyMorganz/StyLua/issues/830\nlocal a_very_long_variable_name_given_that_is_bigger_than_width_upper_limit_but_unfortunately_can_not_be_made_shorter = function()\n\tprint(\"Hello\")\nend\n" at /home/runner/work/lua_fmt/lua_fmt/crates/lua_fmt/test_bun/bun.spec.ts:48:3
error: expect(received).toBe(expected): crates/lua_fmt/test_bun/bun.spec.ts#L48
Expected: "-- https://github.com/JohnnyMorganz/StyLua/issues/778\n-- comments should stay before punctuation to ensure type assertions work in sumneko-lua\n\nfunction fun(\n\ta, --[[ a commnet]]\n\tb\n)\nend\n\nlocal tab = {\n\ta = 1,--[[@as integer ]]\n\tb = 1,\n}\n\ncall(\n\tlong_argument_name, --[[@as integer ]]\n\tlong_argument_name,\n\tlong_argument_name,\n\tlong_argument_name,\n\tlong_argument_name\n)\n" Received: "-- https://github.com/JohnnyMorganz/StyLua/issues/778\n-- comments should stay before punctuation to ensure type assertions work in sumneko-lua\n\nfunction fun(\n\ta --[[ a commnet]],\n\tb\n)\nend\n\nlocal tab = {\n\ta = 1 --[[@as integer ]],\n\tb = 1,\n}\n\ncall(\n\tlong_argument_name --[[@as integer ]],\n\tlong_argument_name,\n\tlong_argument_name,\n\tlong_argument_name,\n\tlong_argument_name\n)\n" at /home/runner/work/lua_fmt/lua_fmt/crates/lua_fmt/test_bun/bun.spec.ts:48:3
bun-test
Process completed with exit code 1.
node-test
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
build Expired
1.19 MB