fix: typo (#45)

This commit is contained in:
wolfgang555
2025-08-02 12:19:15 +08:00
committed by GitHub
parent 446012dfd6
commit ccdb79eb36
12 changed files with 29 additions and 29 deletions

View File

@@ -18,7 +18,7 @@ import * as t from '../src/thrift';
describe('ferry-parser', () => {
describe('thrift field', () => {
it('should convert struct field extenstions', () => {
it('should convert struct field extensions', () => {
const idl = `
enum Numbers {
ONE = 1
@@ -82,7 +82,7 @@ describe('ferry-parser', () => {
return expect(extensionConfigs).to.eql(expected);
});
it('should convert union field extenstions', () => {
it('should convert union field extensions', () => {
const idl = `
union Foo {
1: string k1 (api.position = "query")
@@ -97,7 +97,7 @@ describe('ferry-parser', () => {
return expect(extensionConfigs).to.eql(expected);
});
it('should convert struct field extenstions using agw specification', () => {
it('should convert struct field extensions using agw specification', () => {
const idl = `
struct Foo {
1: string k1 (agw.source = 'query')
@@ -130,7 +130,7 @@ describe('ferry-parser', () => {
return expect(extensionConfigs).to.eql(expected);
});
it('should convert struct field extenstions using golang tag', () => {
it('should convert struct field extensions using golang tag', () => {
const idl = `
struct Foo {
1: string k1 (go.tag = "json:\\"key1\\"")