Skip to content

Commit 0968ec8

Browse files
committed
chore: add mywebs to cspell dictionary
1 parent e7a1b17 commit 0968ec8

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

.cspell/misc-terms.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ KOEPF
66
neato
77
newbranch
88
validify
9+
mywebs

packages/parser/tests/architecture.test.ts

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -87,33 +87,31 @@ describe('architecture', () => {
8787
});
8888

8989
describe('should handle special characters in service titles', () => {
90-
it('should handle service with dot in title', () => {
91-
const context = `architecture-beta
90+
it('should handle service with dot in title', () => {
91+
const context = `architecture-beta
9292
service dns1(internet)[www.mywebs]
9393
`;
94-
const result = parse(context);
95-
expectNoErrorsOrAlternatives(result);
96-
expect(result.value.services[0].title).toBe('www.mywebs');
97-
});
94+
const result = parse(context);
95+
expectNoErrorsOrAlternatives(result);
96+
expect(result.value.services[0].title).toBe('www.mywebs');
97+
});
9898

99-
it('should handle service with multiple special characters', () => {
100-
const context = `architecture-beta
99+
it('should handle service with multiple special characters', () => {
100+
const context = `architecture-beta
101101
service api(server)[api-gateway_v2.0]
102102
`;
103-
const result = parse(context);
104-
expectNoErrorsOrAlternatives(result);
105-
expect(result.value.services[0].title).toBe('api-gateway_v2.0');
106-
});
103+
const result = parse(context);
104+
expectNoErrorsOrAlternatives(result);
105+
expect(result.value.services[0].title).toBe('api-gateway_v2.0');
106+
});
107107

108-
it('should handle service with colons and slashes', () => {
109-
const context = `architecture-beta
108+
it('should handle service with colons and slashes', () => {
109+
const context = `architecture-beta
110110
service db(database)[db:5432/primary]
111111
`;
112-
const result = parse(context);
113-
expectNoErrorsOrAlternatives(result);
114-
expect(result.value.services[0].title).toBe('db:5432/primary');
112+
const result = parse(context);
113+
expectNoErrorsOrAlternatives(result);
114+
expect(result.value.services[0].title).toBe('db:5432/primary');
115+
});
115116
});
116117
});
117-
118-
119-
});

0 commit comments

Comments
 (0)