Skip to content

Commit e0311c3

Browse files
check
1 parent 3624b37 commit e0311c3

File tree

1 file changed

+1
-1
lines changed
  • codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil

1 file changed

+1
-1
lines changed

codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/testutil/Rust.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,4 +528,4 @@ fun TestWriterDelegator.unitTest(test: Writable): TestWriterDelegator {
528528
return this
529529
}
530530

531-
fun String.runWithWarnings(crate: Path, enableUnstableFlag: Boolean) = this.runCommand(crate, Commands.cargoEnvDWarnings(enableUnstableFlag))
531+
fun String.runWithWarnings(crate: Path, enableUnstableFlag: Boolean = true) = this.runCommand(crate, Commands.cargoEnvDWarnings(enableUnstableFlag))

0 commit comments

Comments
 (0)