Skip to content

Commit

Permalink
Bump insta from 1.12.0 to 1.30.0 (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Sep 18, 2023
1 parent 1fcdc6e commit 4c99cc8
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 27 deletions.
33 changes: 7 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ wasm-bindgen = { version = "0.2.81", optional = true }

[dev-dependencies]
criterion = "0.4.0"
insta = { version = "1.12.0", features = ["glob"] }
insta = { version = "1.30.0", features = ["glob"] }
assert_cmd = "2.0.4"

[[bench]]
Expand Down
1 change: 1 addition & 0 deletions tests/inputs-lua54/attributes-2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local a <attribute_with_random_name> = 1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: tests/test_editorconfig.rs
expression: "format(&contents, path.to_str().unwrap())"
input_file: tests/inputs-editorconfig/empty-root/tab-double.lua
---
local foo = {
a = 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: tests/test_editorconfig.rs
expression: "format(&contents, path.to_str().unwrap())"
input_file: tests/inputs-editorconfig/global/tab-single.lua
---
local foo = {
a = 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: tests/test_editorconfig.rs
expression: "format(&contents, path.to_str().unwrap())"
input_file: tests/inputs-editorconfig/local/space-4.lua
---
local foo = {
a = 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: tests/test_editorconfig.rs
expression: "format(&contents, path.to_str().unwrap())"
input_file: tests/inputs-editorconfig/space-2.lua
---
local foo = {
a = 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
source: tests/test_editorconfig.rs
expression: "&contents"
input_file: tests/inputs-editorconfig/stylua-toml/single-space-8.lua
---
local foo = {
a = 1,
Expand Down
7 changes: 7 additions & 0 deletions tests/snapshots/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
source: tests/tests.rs
expression: format(&contents)
input_file: tests/inputs-lua54/attributes-2.lua
---
local a <attribute_with_random_name> = 1

0 comments on commit 4c99cc8

Please sign in to comment.