Skip to content

Commit

Permalink
Merge pull request #764 from helio-frota/minors
Browse files Browse the repository at this point in the history
chore: fix minor typos
  • Loading branch information
Shnatsel authored Aug 28, 2024
2 parents 7596551 + 41e4077 commit 6b17e2a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cyclonedx-bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# `cyclonedx-bom`

The [CycloneDX](https://cyclonedx.org/) library provides JSON and XML serialization and derserialization of Software Bill-of-Materials (SBOM) files.
The [CycloneDX](https://cyclonedx.org/) library provides JSON and XML serialization and deserialization of Software Bill-of-Materials (SBOM) files.

CycloneDX is a full-stack SBOM/xBOM standard designed for use in application security contexts and supply chain component analysis.

Expand Down
4 changes: 2 additions & 2 deletions cyclonedx-bom/src/external_models/spdx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ mod test {

#[test]
fn valid_spdx_identifiers_should_pass_validation() {
let validaton_result = validate_spdx_identifier(&SpdxIdentifier("MIT".to_string()));
let validation_result = validate_spdx_identifier(&SpdxIdentifier("MIT".to_string()));

assert!(validaton_result.is_ok());
assert!(validation_result.is_ok());
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx-bom/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

//! The `cyclonedx-bom` library provides JSON and XML serialization and derserialization of Software
//! The `cyclonedx-bom` library provides JSON and XML serialization and deserialization of Software
//! Bill-of-Materials (SBOM) files.
//!
//! [CycloneDX](https://cyclonedx.org/) is a lightweight SBOM specification that is easily created,
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx-bom/src/specs/common/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ pub(crate) mod test {
}

#[test]
fn it_shoud_fail_with_missing_value() {
fn it_should_fail_with_missing_value() {
let input = r#"
<signature>
<algorithm><RS512/algorithm>
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx-bom/src/specs/v1_5/lifecycles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub(crate) mod test {
}

#[test]
fn it_should_read_xml_emopty_lifecycles() {
fn it_should_read_xml_empty_lifecycles() {
let input = r#"
<lifecycles>
</lifecycles>
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx-bom/src/specs/v1_5/modelcard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ pub(crate) mod test {
}

#[test]
fn it_sould_read_xml_model_card() {
fn it_should_read_xml_model_card() {
let input = r#"
<modelCard>
<modelParameters>
Expand Down
6 changes: 3 additions & 3 deletions cyclonedx-bom/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Run verification of all versions:
cargo test --test 'spec*'
```

To verify only a specific version run, setting X and Y appropriatly:
To verify only a specific version run, setting X and Y appropriately:

```
cargo test --test 'spec*vX_Y'
Expand Down Expand Up @@ -75,7 +75,7 @@ Run validation of all versions:
cargo test --test 'ex*'
```

To validate only a specific version run, setting X and Y appropriatly:
To validate only a specific version run, setting X and Y appropriately:

```
cargo test --test 'ex*vX_Y'
Expand Down Expand Up @@ -128,7 +128,7 @@ PRODUCT_VERSION="3.15"
FILENAME="xvalid_sbom-${SBOM_VERSION}_trivy-${TRIVY_VERSION}_${PRODUCT}-${PRODUCT_VERSION}.cdx.json"
TRIVY_BIN="./trivy"

# Set used scanners / checks explicitely
# Set used scanners / checks explicitly
# Note: 'vuln' is required to scan for vulnerabilities when using the CycloneDX format

# Including 0.36.1 this option is used:
Expand Down

0 comments on commit 6b17e2a

Please sign in to comment.