File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/cubejs-schema-compiler/test/unit
rust/check-dup-prop-transpiler-swc-plugin/src Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ describe('Transpilers', () => {
2727
2828 throw new Error ( 'Compile should thrown an error' ) ;
2929 } catch ( e : any ) {
30- expect ( e . message ) . toMatch ( / D u p l i c a t e p r o p e r t y p a r s i n g t e s t 1 i n m a i n . j s / ) ;
30+ expect ( e . message ) . toMatch ( / D u p l i c a t e p r o p e r t y p a r s i n g t e s t 1 / ) ;
3131 }
3232 } ) ;
3333
Original file line number Diff line number Diff line change @@ -69,7 +69,10 @@ impl TransformVisitor {
6969 PropName :: Str ( s) => s. span ,
7070 _ => DUMMY_SP ,
7171 } ;
72- self . emit_error ( span, & format ! ( "Duplicate property <{}>" , key_name) ) ;
72+ self . emit_error (
73+ span,
74+ & format ! ( "Duplicate property parsing {}" , key_name) ,
75+ ) ;
7376 } else {
7477 unique. insert ( key_name) ;
7578 }
You can’t perform that action at this time.
0 commit comments