Vendor dependencies

This commit is contained in:
2026-08-01 16:11:49 +03:00
parent 7f139a0241
commit 6b5e7f0f8b
29706 changed files with 9575646 additions and 0 deletions
@@ -0,0 +1,9 @@
---
source: insta/tests/test_settings.rs
expression: "vec![1, 2, 3]"
---
[
1,
2,
3,
]
@@ -0,0 +1,5 @@
---
source: insta/tests/test_advanced.rs
expression: "&value"
---
1
@@ -0,0 +1,5 @@
---
source: insta/tests/test_advanced.rs
expression: "&value"
---
2
@@ -0,0 +1,5 @@
---
source: insta/tests/test_advanced.rs
expression: "&value"
---
3
@@ -0,0 +1,5 @@
---
source: insta/tests/test_basic.rs
expression: expr
---
name
@@ -0,0 +1,7 @@
---
source: insta/tests/test_basic.rs
expression: "\"foo\\r\\nbar\\r\\nbaz\""
---
foo
bar
baz
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
[
1,
2,
3,
]
@@ -0,0 +1,5 @@
---
source: insta/tests/test_basic.rs
expression: td
---
TestDisplay struct
@@ -0,0 +1,19 @@
---
source: insta/tests/test_basic.rs
expression: m
---
? - 1
- 3
: 4
? - 1
- 4
: 4
? - 2
- 3
: 4
? - 3
- 3
: 4
? - 9
- 3
: 4
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
[
1,
2,
3
]
@@ -0,0 +1,5 @@
---
source: insta/tests/test_basic.rs
expression: "\"aoeu\""
---
aoeu
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4, 5]"
---
- 1
- 2
- 3
- 4
- 5
@@ -0,0 +1,5 @@
---
source: insta/tests/test_basic.rs
expression: "\"Testing\""
---
Testing
@@ -0,0 +1,7 @@
---
source: insta/tests/test_basic.rs
expression: "\"foo\\r\\nbar\\r\\nbaz\\r\\n\""
---
foo
bar
baz
@@ -0,0 +1,10 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4]"
---
[
1,
2,
3,
4,
]
@@ -0,0 +1,11 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4, 5]"
---
[
1,
2,
3,
4,
5,
]
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
[
1,
2,
3,
]
@@ -0,0 +1,5 @@
---
source: insta/tests/test_basic.rs
expression: "\"whatever\""
---
whatever
@@ -0,0 +1,5 @@
---
source: insta/tests/test_basic.rs
expression: td
---
TestDisplay struct
@@ -0,0 +1,10 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4]"
---
[
1,
2,
3,
4
]
@@ -0,0 +1,11 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4, 5]"
---
[
1,
2,
3,
4,
5
]
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
[
1,
2,
3
]
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
[
1,
2,
3,
]
@@ -0,0 +1,8 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4]"
---
- 1
- 2
- 3
- 4
@@ -0,0 +1,9 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3, 4, 5]"
---
- 1
- 2
- 3
- 4
- 5
@@ -0,0 +1,7 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
- 1
- 2
- 3
@@ -0,0 +1,7 @@
---
source: insta/tests/test_basic.rs
expression: "vec![1, 2, 3]"
---
- 1
- 2
- 3
@@ -0,0 +1,6 @@
---
source: insta/tests/test_binary.rs
expression: "b\"test\".to_vec()"
extension: txt
snapshot_kind: binary
---
@@ -0,0 +1 @@
test
@@ -0,0 +1,6 @@
---
source: insta/tests/test_binary.rs
expression: "b\"test\".to_vec()"
extension: tar.gz
snapshot_kind: binary
---
@@ -0,0 +1,6 @@
---
source: insta/tests/test_binary.rs
expression: "b\"null\".to_vec()"
extension: json
snapshot_kind: binary
---
@@ -0,0 +1 @@
null
@@ -0,0 +1,6 @@
---
source: tests/test_glob.rs
expression: "&contents"
input_file: tests/inputs/goodbye.txt
---
"Contents of goodbye"
@@ -0,0 +1,6 @@
---
source: tests/test_glob.rs
expression: "&contents"
input_file: tests/inputs/hello.txt
---
"Contents of hello"
@@ -0,0 +1,7 @@
---
source: tests/test_glob.rs
expression: "&contents"
input_file: tests/inputs-nested/a/file.txt
---
Hello A
@@ -0,0 +1,7 @@
---
source: tests/test_glob.rs
expression: "&contents"
input_file: tests/inputs-nested/b/file.txt
---
Hello B
@@ -0,0 +1,6 @@
---
source: tests/test_glob.rs
expression: "&contents"
input_file: tests/inputs/goodbye.txt
---
"Contents of goodbye"
@@ -0,0 +1,6 @@
---
source: tests/test_glob.rs
expression: "&contents"
input_file: tests/inputs/hello.txt
---
"Contents of hello"
@@ -0,0 +1,5 @@
---
source: insta/tests/test_inline.rs
expression: "\"Testing-thread-2\""
---
Testing-thread-2
@@ -0,0 +1,5 @@
---
source: insta/tests/test_inline.rs
expression: "\"Testing-thread\""
---
Testing-thread
@@ -0,0 +1,16 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo.bar\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
],
],
}
@@ -0,0 +1,16 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo[\\\"bar\\\"]\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
],
],
}
@@ -0,0 +1,17 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo.bar.**\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
DeepWildcard,
],
],
}
@@ -0,0 +1,20 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo.bar[]\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
Range(
None,
None,
),
],
],
}
@@ -0,0 +1,24 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo.bar[10:20]\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
Range(
Some(
10,
),
Some(
20,
),
),
],
],
}
@@ -0,0 +1,22 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo.bar[10:]\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
Range(
Some(
10,
),
None,
),
],
],
}
@@ -0,0 +1,22 @@
---
source: insta/tests/test_redaction.rs
expression: "Selector :: parse(\".foo.bar[:10]\").unwrap()"
---
Selector {
selectors: [
[
Key(
"foo",
),
Key(
"bar",
),
Range(
None,
Some(
10,
),
),
],
],
}
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: foo_value
---
hm:
? bucket: "[bucket]"
value: 0
: 42
btm:
"[key]": 23
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&vec![1, 2, 3]"
info:
secret: sensitive_value
public: visible
---
- 1
- 2
- 3
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&vec![1, 2, 3]"
info:
secret: "[REDACTED]"
public: visible
---
- 1
- 2
- 3
@@ -0,0 +1,12 @@
---
source: insta/tests/test_redaction.rs
expression: This is a custom debug expression for the snapshot
---
id: "[id]"
items:
- one
- two
- three
metadata:
count: 42
version: 123
@@ -0,0 +1,12 @@
---
source: insta/tests/test_redaction.rs
expression: "&obj"
---
id: "[id]"
items:
- one
- two
- three
metadata:
count: 42
version: 123
@@ -0,0 +1,8 @@
---
source: insta/tests/test_redaction.rs
expression: "&MyPoint { x: 1.0 / 3.0, y: 6.0 / 3.0, }"
---
{
"x": 0.3333,
"y": 2.0
}
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "vec![checkout]"
---
- _id: "[checkout_id]"
products:
- _id: "[product_id]"
product_name: "[product_name]"
- _id: "[product_id]"
product_name: "[product_name]"
@@ -0,0 +1,6 @@
---
source: tests/test_redaction.rs
expression: "&User {\n id: 44,\n username: \"julius_csv\".to_string(),\n email: Email(\"julius@example.com\".to_string()),\n extra: \"\".to_string(),\n }"
---
id,username,email,extra
[id],julius_csv,julius@example.com,
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 9999, username: \"jason_doe\".to_string(), email:\n Email(\"jason@example.com\".to_string()), extra:\n \"ssn goes here\".to_string(),\n}"
---
{
"id": "[id]",
"username": "jason_doe",
"email": "jason@example.com",
"extra": "[extra]"
}
@@ -0,0 +1,14 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 122, username: \"jason_doe\".to_string(), flags:\n vec![\"zzz\".into(), \"foo\".into(), \"aha\".into(),\n \"is_admin\".into()].into_iter().collect(),\n}"
---
{
"id": "[id]",
"username": "jason_doe",
"flags": [
"aha",
"foo",
"is_admin",
"zzz"
]
}
@@ -0,0 +1,14 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 122, username: \"jason_doe\".to_string(), flags:\n MySet(vec![\"zzz\".into(), \"foo\".into(), \"aha\".into(),\n \"is_admin\".into()].into_iter().collect()),\n}"
---
{
"flags": [
"aha",
"foo",
"is_admin",
"zzz"
],
"id": 122,
"username": "jason_doe"
}
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 122, username: \"jason_doe\".to_string(), email:\n Email(\"jason@example.com\".to_string()), extra:\n \"ssn goes here\".to_string(),\n}"
---
{
"id": "[id]",
"username": "jason_doe",
"email": "jason@example.com",
"extra": "[extra]"
}
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 1234, username: \"jason_doe\".to_string(), email:\n Email(\"jason@example.com\".to_string()), extra: \"extra here\".to_string(),\n}"
---
{
"id": "[id]",
"username": "jason_doe",
"email": "jason@example.com",
"extra": "extra here"
}
@@ -0,0 +1,10 @@
---
source: tests/test_redaction.rs
expression: "&User {\n id: 53,\n username: \"john_ron\".to_string(),\n email: Email(\"john@example.com\".to_string()),\n extra: \"\".to_string(),\n }"
---
User(
id: "[id]",
username: "john_ron",
email: Email("john@example.com"),
extra: "",
)
@@ -0,0 +1,8 @@
---
source: tests/test_redaction.rs
expression: "&User {\n id: 53,\n username: \"john_ron\".to_string(),\n email: Email(\"john@example.com\".to_string()),\n extra: \"\".to_string(),\n }"
---
id = '[id]'
username = 'john_ron'
email = 'john@example.com'
extra = ''
@@ -0,0 +1,8 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 42, username: \"john_doe\".to_string(), email:\n Email(\"john@example.com\".to_string()), extra: \"\".to_string(),\n}"
---
id: "[id]"
username: john_doe
email: john@example.com
extra: ""
@@ -0,0 +1,8 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 11, username: \"john_doe\".to_string(), email:\n Email(\"john@example.com\".to_string()), extra: \"\".to_string(),\n}"
---
id: "[id]"
username: john_doe
email: john@example.com
extra: ""
@@ -0,0 +1,8 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 11, username: \"john_doe\".to_string(), email:\n Email(\"john@example.com\".to_string()), extra: \"\".to_string(),\n}"
---
id: "[id]"
username: john_doe
email: john@example.com
extra: ""
@@ -0,0 +1,8 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 11, username: \"john_doe\".to_string(), email:\n Email(\"john@example.com\".to_string()), extra: \"\".to_string(),\n}"
---
id: "[id]"
username: john_doe
email: john@example.com
extra: ""
@@ -0,0 +1,6 @@
---
source: tests/test_redaction.rs
expression: "&User {\n id: 44,\n username: \"julius_csv\".to_string(),\n email: Email(\"julius@example.com\".to_string()),\n extra: \"\".to_string(),\n }"
---
id,username,email,extra
[id],julius_csv,julius@example.com,
@@ -0,0 +1,8 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 23, username: \"john_doe\".to_string(), email:\n Email(\"john@example.com\".to_string()), extra: \"\".to_string(),\n}"
---
id: "[id]"
username: john_doe
email: john@example.com
extra: ""
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 9999, username: \"jason_doe\".to_string(), email:\n Email(\"jason@example.com\".to_string()), extra:\n \"ssn goes here\".to_string(),\n}"
---
{
"id": "[id]",
"username": "jason_doe",
"email": "jason@example.com",
"extra": "[extra]"
}
@@ -0,0 +1,10 @@
---
source: insta/tests/test_redaction.rs
expression: "&User\n{\n id: 975, username: \"jason_doe\".to_string(), email:\n Email(\"jason@example.com\".to_string()), extra:\n \"ssn goes here\".to_string(),\n}"
---
{
"id": "[id]",
"username": "jason_doe",
"email": "jason@example.com",
"extra": "[extra]"
}
@@ -0,0 +1,10 @@
---
source: tests/test_redaction.rs
expression: "&User {\n id: 53,\n username: \"john_ron\".to_string(),\n email: Email(\"john@example.com\".to_string()),\n extra: \"\".to_string(),\n }"
---
User(
id: "[id]",
username: "john_ron",
email: Email("john@example.com"),
extra: "",
)
@@ -0,0 +1,8 @@
---
source: tests/test_redaction.rs
expression: "&User {\n id: 53,\n username: \"john_ron\".to_string(),\n email: Email(\"john@example.com\".to_string()),\n extra: \"\".to_string(),\n }"
---
id = '[id]'
username = 'john_ron'
email = 'john@example.com'
extra = ''
@@ -0,0 +1,10 @@
---
source: insta/tests/test_settings.rs
description: The snapshot is three integers
expression: "vec![1, 2, 3]"
---
[
1,
2,
3,
]
@@ -0,0 +1,17 @@
---
source: insta/tests/test_settings.rs
description: The snapshot is four integers
expression: "vec![1, 2, 3, 4]"
info:
env:
ENVIRONMENT: production
cmdline:
- my-tool
- run
---
[
1,
2,
3,
4,
]
@@ -0,0 +1,18 @@
---
source: insta/tests/test_settings.rs
description: The snapshot is four integers
expression: "vec![1, 2, 3, 4]"
info:
env:
- ENVIRONMENT
- production
cmdline:
- my-tool
- run
---
[
1,
2,
3,
4,
]