Skip to content

Commit 971fd7f

Browse files
committed
fix: test
1 parent 4b0e3b6 commit 971fd7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/pgt_typecheck/src/typed_identifier.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ mod tests {
241241
let identifiers = vec![
242242
super::TypedIdentifier {
243243
path: "fn_name".to_string(),
244-
name: "v_test".to_string(),
244+
name: Some("v_test".to_string()),
245245
type_: super::IdentifierType {
246246
schema: None,
247247
name: "int4".to_string(),
@@ -250,7 +250,7 @@ mod tests {
250250
},
251251
super::TypedIdentifier {
252252
path: "fn_name".to_string(),
253-
name: "custom_type".to_string(),
253+
name: Some("custom_type".to_string()),
254254
type_: super::IdentifierType {
255255
schema: Some("public".to_string()),
256256
name: "custom_type".to_string(),
@@ -259,7 +259,7 @@ mod tests {
259259
},
260260
super::TypedIdentifier {
261261
path: "fn_name".to_string(),
262-
name: "another".to_string(),
262+
name: Some("another".to_string()),
263263
type_: super::IdentifierType {
264264
schema: None,
265265
name: "numeric".to_string(),
@@ -268,7 +268,7 @@ mod tests {
268268
},
269269
super::TypedIdentifier {
270270
path: "fn_name".to_string(),
271-
name: "custom_type".to_string(),
271+
name: Some("custom_type".to_string()),
272272
type_: super::IdentifierType {
273273
schema: Some("public".to_string()),
274274
name: "custom_type".to_string(),
@@ -277,7 +277,7 @@ mod tests {
277277
},
278278
super::TypedIdentifier {
279279
path: "fn_name".to_string(),
280-
name: "v_test2".to_string(),
280+
name: Some("v_test2".to_string()),
281281
type_: super::IdentifierType {
282282
schema: None,
283283
name: "int4".to_string(),
@@ -286,7 +286,7 @@ mod tests {
286286
},
287287
super::TypedIdentifier {
288288
path: "fn_name".to_string(),
289-
name: "enum_type".to_string(),
289+
name: Some("enum_type".to_string()),
290290
type_: super::IdentifierType {
291291
schema: Some("public".to_string()),
292292
name: "enum_type".to_string(),

0 commit comments

Comments
 (0)