Skip to content

Commit

Permalink
chore: fix some typos in comment (#1183)
Browse files Browse the repository at this point in the history
Signed-off-by: guqicun <[email protected]>
  • Loading branch information
guqicun authored Dec 10, 2024
1 parent 8a8f647 commit b3653b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/infra/cli/src/commands/run/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ enum BinaryName {
/// Runs the Solidity parser against source files from the Sanctuary repositories.
#[clap(name = "solidity_testing_sanctuary")]
SolidityTestingSanctuary,
/// Runs compatability tests between our language definition and 'solc' actual output.
/// Runs compatibility tests between our language definition and 'solc' actual output.
#[clap(name = "solidity_testing_solc")]
SolidityTestingSolc,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub enum AssertionError {
#[error("Invalid assertion at {0}:{1}")]
InvalidAssertion(usize, usize),

#[error("Invalid version requierement at line {0}: `{1}`")]
#[error("Invalid version requirement at line {0}: `{1}`")]
InvalidVersionReq(usize, String),

#[error("Duplicate assertion definition {0}")]
Expand Down Expand Up @@ -140,7 +140,7 @@ impl<'a> fmt::Display for DisplayCursor<'a> {
/// // ^ref:1
///
/// asserts that the CST identifier node `x` should be a binding reference which
/// should be declared as a correspoding definition assertion with identifier
/// should be declared as a corresponding definition assertion with identifier
/// '1'; and that the CST identifier node `y` should be a binding reference that
/// is unresolved for version at or above 0.5.0.
///
Expand Down
2 changes: 1 addition & 1 deletion crates/testlang/outputs/npm/tests/src/ast/ast.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test("throws an exception on initializing the wrong type", () => {
);
});

test("throws an exception on on using an incorrect/incomplete CST node", () => {
test("throws an exception on using an incorrect/incomplete CST node", () => {
const source = `tree`;

const parser = Parser.create("1.0.0");
Expand Down

0 comments on commit b3653b3

Please sign in to comment.