Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #4821

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,25 @@ describe("AttributeMap", () => {
expect(map.has("someAttribute")).toBeFalse();
});

it("should throw if an an unknown attribute is tried to be retrieved", () => {
it("should throw if an unknown attribute is tried to be retrieved", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.get("someAttribute")).toThrow("Unknown attribute: someAttribute");
});

it("should throw if an an unknown attribute is tried to be set", () => {
it("should throw if an unknown attribute is tried to be set", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.set("someAttribute", "value")).toThrow("Unknown attribute: someAttribute");
});

it("should throw if an an unknown attribute is tried to be forgotten", () => {
it("should throw if an unknown attribute is tried to be forgotten", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.forget("someAttribute")).toThrow("Unknown attribute: someAttribute");
});

it("should throw if an an unknown attribute is tried to be checked", () => {
it("should throw if an unknown attribute is tried to be checked", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.has("someAttribute")).toThrow("Unknown attribute: someAttribute");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe("Bridgechain registration transaction", () => {
expect(error).not.toBeUndefined();
});

it("should fail duo to to big repository, max 100 chars", () => {
it("should fail duo to big repository, max 100 chars", () => {
const bridgechainRegistration = builder
.bridgechainRegistrationAsset({
name: "google",
Expand Down