Skip to content

Commit

Permalink
Revert "cleaner comment naming"
Browse files Browse the repository at this point in the history
This reverts commit 4fce94f.
  • Loading branch information
brandonsurh committed Dec 19, 2023
1 parent 4fce94f commit 4b9256d
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions swayfmt/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1614,30 +1614,26 @@ fn configurable_comments() {
r#"
script;
use std::{constants::ZERO_B256, vm::evm::evm_address::EvmAddress}; // end of line
use std::{constants::ZERO_B256, vm::evm::evm_address::EvmAddress};
configurable { /* multiline */
// double slash
/// triple slash
configurable { /* inline comment */
// double slash comment
/// triple slash comment
SIGNER: EvmAddress = EvmAddress {
// double slash
// double slash
value: ZERO_B256, // end of line
value: ZERO_B256,
},
}
fn main() {}"#,
r#"script;
use std::{constants::ZERO_B256, vm::evm::evm_address::EvmAddress}; // end of line
use std::{constants::ZERO_B256, vm::evm::evm_address::EvmAddress};
configurable { /* multiline */
// double slash
/// triple slash
configurable { /* inline comment */
// double slash comment
/// triple slash comment
SIGNER: EvmAddress = EvmAddress {
// double slash
// double slash
value: ZERO_B256, // end of line
value: ZERO_B256,
},
}
Expand Down

0 comments on commit 4b9256d

Please sign in to comment.