Skip to content

Commit fca294f

Browse files
committed
test: revert the unrelated changes in custom_scalar_map.rs
1 parent 3f2c5f6 commit fca294f

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

crates/apollo-mcp-server/src/custom_scalar_map.rs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -94,33 +94,33 @@ mod tests {
9494
fn empty_file() {
9595
let result = CustomScalarMap::from_str("").err().unwrap();
9696

97-
insta::assert_debug_snapshot!(result, @r#"
98-
CustomScalarConfig(
99-
Error("EOF while parsing a value", line: 1, column: 0),
100-
)
101-
"#)
97+
insta::assert_debug_snapshot!(result, @r###"
98+
CustomScalarConfig(
99+
Error("EOF while parsing a value", line: 1, column: 0),
100+
)
101+
"###)
102102
}
103103

104104
#[test]
105105
fn only_spaces() {
106106
let result = CustomScalarMap::from_str(" ").err().unwrap();
107107

108-
insta::assert_debug_snapshot!(result, @r#"
109-
CustomScalarConfig(
110-
Error("EOF while parsing a value", line: 1, column: 4),
111-
)
112-
"#)
108+
insta::assert_debug_snapshot!(result, @r###"
109+
CustomScalarConfig(
110+
Error("EOF while parsing a value", line: 1, column: 4),
111+
)
112+
"###)
113113
}
114114

115115
#[test]
116116
fn invalid_json() {
117117
let result = CustomScalarMap::from_str("Hello: }").err().unwrap();
118118

119-
insta::assert_debug_snapshot!(result, @r#"
120-
CustomScalarConfig(
121-
Error("expected value", line: 1, column: 1),
122-
)
123-
"#)
119+
insta::assert_debug_snapshot!(result, @r###"
120+
CustomScalarConfig(
121+
Error("expected value", line: 1, column: 1),
122+
)
123+
"###)
124124
}
125125

126126
#[test]
@@ -135,13 +135,13 @@ mod tests {
135135
.err()
136136
.unwrap();
137137

138-
insta::assert_debug_snapshot!(result, @r#"
139-
CustomScalarJsonSchema(
140-
Object {
141-
"test": Bool(true),
142-
},
143-
)
144-
"#)
138+
insta::assert_debug_snapshot!(result, @r###"
139+
CustomScalarJsonSchema(
140+
Object {
141+
"test": Bool(true),
142+
},
143+
)
144+
"###)
145145
}
146146

147147
#[test]
@@ -161,7 +161,7 @@ mod tests {
161161
.err()
162162
.unwrap();
163163

164-
insta::assert_debug_snapshot!(result, @r#"
164+
insta::assert_debug_snapshot!(result, @r###"
165165
CustomScalarJsonSchema(
166166
Object {
167167
"type": String("object"),
@@ -172,7 +172,7 @@ mod tests {
172172
},
173173
},
174174
)
175-
"#)
175+
"###)
176176
}
177177

178178
#[test]

0 commit comments

Comments
 (0)