Compare commits
2 Commits
64390e1965
...
27f1187399
Author | SHA1 | Date | |
---|---|---|---|
27f1187399 | |||
0bf2125aee |
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
9
.idea/go.imports.xml
Normal file
9
.idea/go.imports.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GoImports">
|
||||
<option name="groupStdlibImports" value="true" />
|
||||
<option name="importSorting" value="GOIMPORTS" />
|
||||
<option name="moveAllImportsInOneDeclaration" value="true" />
|
||||
<option name="moveAllStdlibImportsInOneGroup" value="true" />
|
||||
</component>
|
||||
</project>
|
|
@ -48,9 +48,21 @@ func TestInReplyTo(t *testing.T) {
|
|||
if results[0]["in-reply-to"] != "https://github.com/w3c/csswg-drafts/issues/2589" {
|
||||
t.Fatalf("not in-reply-to, but %s", results[0]["in-reply-to"])
|
||||
}
|
||||
if results[0]["syndication"] != "https://github.com/w3c/csswg-drafts/issues/2589#thumbs_up-by-tantek" {
|
||||
t.Fatalf("not in-reply-to, but %s", results[0]["syndication"])
|
||||
}
|
||||
if results[0]["published"] != "2018-04-25 11:14-0700" {
|
||||
t.Fatalf("not published, but %s", results[0]["published"])
|
||||
}
|
||||
if results[0]["updated"] != "2018-04-25 11:14-0700" {
|
||||
t.Fatalf("not updated, but %s", results[0]["updated"])
|
||||
}
|
||||
if results[0]["url"] != "http://tantek.com/2018/115/t1/" {
|
||||
t.Fatalf("not url, but %s", results[0]["url"])
|
||||
}
|
||||
if results[0]["uid"] != "http://tantek.com/2018/115/t1/" {
|
||||
t.Fatalf("not uid, but %s", results[0]["url"])
|
||||
}
|
||||
|
||||
if authorValue, e := results[0]["author"]; e {
|
||||
if author, ok := authorValue.(map[string]string); ok {
|
||||
|
|
Loading…
Reference in New Issue
Block a user