From 593fa05f6da0eb0684186835027e4b7f64245ac7 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 11 Mar 2023 08:19:35 +0400 Subject: [PATCH] test: fix expected path separator on Windows --- testdata/builtins.go | 56 ++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/testdata/builtins.go b/testdata/builtins.go index 98c8fae..b62be95 100644 --- a/testdata/builtins.go +++ b/testdata/builtins.go @@ -12,39 +12,39 @@ import ( ) type User struct { /* want - "`User` should be annotated with the `json` tag as it is passed to `json.Marshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `json` tag as it is passed to `json.MarshalIndent` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `json` tag as it is passed to `json.Unmarshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at testdata/src/builtins/builtins.go" + "`User` should be annotated with the `json` tag as it is passed to `json.Marshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `json` tag as it is passed to `json.MarshalIndent` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `json` tag as it is passed to `json.Unmarshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.Marshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.MarshalIndent` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.Unmarshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.Encoder.Encode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.Decoder.Decode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.Encoder.EncodeElement` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `xml` tag as it is passed to `xml.Decoder.DecodeElement` at testdata/src/builtins/builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.Marshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.MarshalIndent` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.Unmarshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.Encoder.Encode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.Decoder.Decode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.Encoder.EncodeElement` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `xml` tag as it is passed to `xml.Decoder.DecodeElement` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" - "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Marshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Unmarshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Encoder.Encode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Decoder.Decode` at testdata/src/builtins/builtins.go" + "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Marshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Unmarshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Encoder.Encode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `yaml` tag as it is passed to `yaml.v3.Decoder.Decode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" - "`User` should be annotated with the `toml` tag as it is passed to `toml.Unmarshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `toml` tag as it is passed to `toml.Decode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `toml` tag as it is passed to `toml.DecodeFS` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `toml` tag as it is passed to `toml.DecodeFile` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `toml` tag as it is passed to `toml.Encoder.Encode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `toml` tag as it is passed to `toml.Decoder.Decode` at testdata/src/builtins/builtins.go" + "`User` should be annotated with the `toml` tag as it is passed to `toml.Unmarshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `toml` tag as it is passed to `toml.Decode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `toml` tag as it is passed to `toml.DecodeFS` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `toml` tag as it is passed to `toml.DecodeFile` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `toml` tag as it is passed to `toml.Encoder.Encode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `toml` tag as it is passed to `toml.Decoder.Decode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" - "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.Decode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.DecodeMetadata` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.WeakDecode` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.WeakDecodeMetadata` at testdata/src/builtins/builtins.go" + "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.Decode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.DecodeMetadata` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.WeakDecode` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `mapstructure` tag as it is passed to `mapstructure.WeakDecodeMetadata` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" - "`User` should be annotated with the `custom` tag as it is passed to `custom.Marshal` at testdata/src/builtins/builtins.go" - "`User` should be annotated with the `custom` tag as it is passed to `custom.Unmarshal` at testdata/src/builtins/builtins.go" + "`User` should be annotated with the `custom` tag as it is passed to `custom.Marshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" + "`User` should be annotated with the `custom` tag as it is passed to `custom.Unmarshal` at testdata(/|\\\\)src(/|\\\\)builtins(/|\\\\)builtins.go" */ Name string Email string `json:"email" xml:"email" yaml:"email" toml:"email" mapstructure:"email" custom:"email"`