Remove superfluous whitespace. Add scratchpad* to ignore.

This commit is contained in:
Netscape Navigator 2020-03-09 08:02:17 -05:00
parent a14089143a
commit 6a345bbb90
4 changed files with 5 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
coverage/
.pigeon/
*.pigeon
doc/
doc/
scratchpad*

View File

@ -39,7 +39,7 @@ RSpec.describe Pigeon::Message do
"a:\"bar\"",
"b:&6462a5f5174b53702fc25afe67a8f9a29f572610a65bafefff627531552f096f.sha256",
"",
"signature __SIGNATURE__ \n",
"signature __SIGNATURE__",
].join("\n")
.gsub("__AUTHOR__", message.author.public_key)
.gsub("__SIGNATURE__", message.signature)

View File

@ -8,7 +8,7 @@ RSpec.describe Pigeon::Serializer do
"\nprev NONE",
"\ndepth 23",
"\n\nfoo:\"bar\"\n\n"].join("")
BOTTOM_HALF = "signature XYZ.sig.sha256 \n"
BOTTOM_HALF = "signature XYZ.sig.sha256"
EXPECTED_DRAFT = TOP_HALF + BOTTOM_HALF
class FakeKeypair

View File

@ -1,2 +1 @@
<% if signature %>signature <%= signature %> <% else %>signature UNSIGNED<% end %>
<% if signature %>signature <%= signature %><% else %>signature UNSIGNED<% end %>