Skip to content
This repository was archived by the owner on Dec 25, 2019. It is now read-only.

Commit 18815c3

Browse files
committed
fix test compilation
1 parent ea9e81c commit 18815c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sqlparser_common.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2820,7 +2820,7 @@ fn parse_create_source_raw_schema() {
28202820
} => {
28212821
assert_eq!("foo", name.to_string());
28222822
assert_eq!("bar", url);
2823-
assert_eq!(SourceSchema::Raw("baz".into()), schema);
2823+
assert_eq!(SourceSchema::Raw("baz".into()), schema.unwrap());
28242824
assert_eq!(
28252825
with_options,
28262826
vec![SqlOption {
@@ -2847,7 +2847,7 @@ fn parse_create_source_registry() {
28472847
assert_eq!("bar", url);
28482848
assert_eq!(
28492849
SourceSchema::Registry("http://localhost:8081".into()),
2850-
schema
2850+
schema.unwrap()
28512851
);
28522852
assert_eq!(with_options, vec![]);
28532853
}

0 commit comments

Comments
 (0)