Closed psbss closed 3 weeks ago
Hello
Apple's new testing library [swift-testing]() may include from Xcode16. So We started implementing of this library for our product but the format of await keyword order was mistake when I run swift-format command.
await
Examples
// original #expect (await monitor.isAvailable == false) // formatted (mistake) #expect await (monitor.isAvailable == false)
Version: v0.53.8 installed This is our config:
v0.53.8
# disable --disable wrapMultilineStatementBraces --disable preferKeyPath --disable preferForLoop # format options --stripunusedargs closure-only --self init-only --commas inline --extensionacl on-declarations --wrapparameters before-first --wraparguments before-first --maxwidth 120 --guardelse next-line # version --swiftversion 5.9
Do we have a workaround?
I suggest you use --disable hoistAwait for now
I see, thank you
@psbss fixed in 0.54.0
Thank you so much @nicklockwood !!
Hello
Apple's new testing library [swift-testing]() may include from Xcode16. So We started implementing of this library for our product but the format of
await
keyword order was mistake when I run swift-format command.Examples
Version:
v0.53.8
installed This is our config:Do we have a workaround?