aboutsummaryrefslogtreecommitdiffstats
path: root/skate/reduce_test.go
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-14 02:47:32 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-14 02:47:32 +0200
commit290b376b052d83ce0fab9203b424dffb8263fda6 (patch)
tree08353580e3d113a0b9d5dacadb0e0bfb5da71f83 /skate/reduce_test.go
parent1c3910befbe8d6679979ac43b00796ea58329dff (diff)
downloadrefcat-290b376b052d83ce0fab9203b424dffb8263fda6.tar.gz
refcat-290b376b052d83ce0fab9203b424dffb8263fda6.zip
reduce: add csl field
Diffstat (limited to 'skate/reduce_test.go')
-rw-r--r--skate/reduce_test.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/skate/reduce_test.go b/skate/reduce_test.go
index da4e21e..ddbca08 100644
--- a/skate/reduce_test.go
+++ b/skate/reduce_test.go
@@ -198,6 +198,38 @@ func TestMatchedRefsExtend(t *testing.T) {
MatchStatus: StatusUnmatched.Short(),
MatchReason: ReasonUnknown.Short(),
SourceYear: "0",
+ TargetCSL: &CSL{
+ Accessed: CSLDate{},
+ Author: nil,
+ CollectionTitle: "",
+ ContainerTitle: "",
+ ContainerTitleShort: "",
+ DOI: "",
+ ID: "",
+ ISBN: "",
+ ISSN: "",
+ Issue: "",
+ Issued: CSLDate{},
+ JournalAbbreviation: "",
+ Language: "",
+ NumberOfPages: "",
+ OriginalTitle: "",
+ PMCID: "",
+ PMID: "",
+ Page: "",
+ PageFirst: "",
+ Publisher: "",
+ Source: "",
+ Status: "",
+ Title: "Title",
+ TitleShort: "",
+ Type: "",
+ URL: "",
+ Volume: "",
+ VolumeTitle: "",
+ VolumeTitleShort: "",
+ YearSuffix: "",
+ },
},
},
},