File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
crates/pop-cli/src/commands/build Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ pub(crate) enum ChainType {
7474#[ derive(
7575 AsRefStr ,
7676 Clone ,
77+ Copy ,
7778 Default ,
7879 Debug ,
7980 Display ,
@@ -853,7 +854,7 @@ mod tests {
853854 // All flags used. Parachain
854855 (
855856 BuildSpecCommand {
856- path,
857+ path. clone ( ) ,
857858 output_file : Some ( PathBuf :: from ( output_file) ) ,
858859 profile : Some ( profile. clone ( ) ) ,
859860 name: Some ( name. to_string ( ) ) ,
@@ -879,7 +880,7 @@ mod tests {
879880 // All flags used. Relay
880881 (
881882 BuildSpecCommand {
882- path,
883+ path. clone ( ) ,
883884 output_file : Some ( PathBuf :: from ( output_file) ) ,
884885 profile : Some ( profile. clone ( ) ) ,
885886 name: Some ( name. to_string ( ) ) ,
@@ -963,7 +964,7 @@ mod tests {
963964 assert_eq ! ( build_spec. id, None ) ;
964965 }
965966
966- if build . is_relay {
967+ if build_spec . is_relay {
967968 assert_eq ! ( build_spec. para_id, None ) ;
968969 assert_eq ! ( build_spec. relay, None ) ;
969970 } else {
You can’t perform that action at this time.
0 commit comments