Skip to content

Commit

Permalink
Fix test lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spinillos committed Jul 25, 2023
1 parent abb9f0a commit 7e36dc2
Show file tree
Hide file tree
Showing 23 changed files with 1 addition and 22 deletions.
1 change: 0 additions & 1 deletion testdata/lineage/basic-multiversion.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,6 @@ type Basicmultiversion struct {

// BasicmultiversionWithDefault defines model for Basicmultiversion.WithDefault.
type BasicmultiversionWithDefault string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Basic-Multiversion {
init: string;
Expand Down
1 change: 1 addition & 0 deletions testdata/lineage/embedexref.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ Schema count: 1
Schema versions: 0.0
Lenses count: 0


-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Embedexref {
refField1: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/embedref.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ type Embedref struct {

// EmbedrefRefField2 defines model for Embedref.RefField2.
type EmbedrefRefField2 int

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Embedref {
refField1: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/expand.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,6 @@ type Expand struct {

// ExpandWithDefault defines model for Expand.WithDefault.
type ExpandWithDefault string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Expand {
init: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/go-any.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ type Goany struct {
} `json:"structVal"`
Value any `json:"value"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Go-Any {
emptyMap: Record<string, unknown>;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/embedref.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ type Embedref struct {

// EmbedrefRefField2 defines model for Embedref.RefField2.
type EmbedrefRefField2 int

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Embedref {
foo: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/exref.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ type Exref struct {
Ref ExRef `json:"ref"`
Refdef ExRefDef `json:"refdef"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Exref {
foo: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/nearoptional.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ type Nearoptional struct {
} `json:"astruct,omitempty"`
Notoptional int32 `json:"notoptional"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Nearoptional {
abool?: boolean;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/onenone.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ package onenone

// Foo defines model for foo.
type Foo = string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Onenone {
foo: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/oneone.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ type Oneone struct {
Bar string `json:"bar"`
Foo string `json:"foo"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Oneone {
bar: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/onestruct.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ type AField struct {

// Foo defines model for foo.
type Foo = string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Onestruct {
aField: {
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/join/repeat.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ package repeat
type Repeat struct {
Foo string `json:"foo"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Repeat {
foo: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/maps.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,6 @@ type ValPrimitive map[string]bool
type ValStruct map[string]struct {
Foo string `json:"foo"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Maps {
aComplexMap?: {
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/nearoptional.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ type Nearoptional struct {
} `json:"astruct,omitempty"`
Notoptional int32 `json:"notoptional"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Nearoptional {
abool?: boolean;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/noref.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ type Baz struct {

// SomeField defines model for someField.
type SomeField = string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Noref {
someField: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/one-schema-versionless.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ package oneschemaversionless

// Firstfield defines model for firstfield.
type Firstfield = string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface One-Schema-Versionless {
firstfield: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/optional.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ schemas: [{
}
}]
lenses: []

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Optional {
abool?: boolean;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/refexstruct.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ type Baz struct {
type Refexstruct struct {
ABaz Baz `json:"aBaz"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Refexstruct {
aBaz: {
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/refstruct.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ type Refstruct struct {
ABaz Baz `json:"aBaz"`
Disj any `json:"disj"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Refstruct {
aBaz: {
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/scalars.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,6 @@ type SomeUInt8 = int

// StringWithLength defines model for stringWithLength.
type StringWithLength = string

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Scalar-Fields {
intWithBounds: number;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/trivial-two-comments.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ type Trivialtwocomments struct {
// Secondfield but clearly this one is a great idea
Secondfield int32 `json:"secondfield,omitempty"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Trivial-Two-Comments {
/**
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/trivial-two.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ type Trivialtwo struct {
Firstfield string `json:"firstfield"`
Secondfield int32 `json:"secondfield,omitempty"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Trivial-Two {
firstfield: string;
Expand Down
1 change: 0 additions & 1 deletion testdata/lineage/union-null.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ type Unionnull struct {
WithNull *string `json:"withNull"`
} `json:"kindString"`
}

-- out/encoding/typescript/TestGenerate/nilcfg --
export interface Union-Null {
kindFloat: {
Expand Down

0 comments on commit 7e36dc2

Please sign in to comment.