Remove superfluous whitespace. Add scratchpad* to ignore.
This commit is contained in:
parent
a14089143a
commit
6a345bbb90
|
@ -1,4 +1,5 @@
|
|||
coverage/
|
||||
.pigeon/
|
||||
*.pigeon
|
||||
doc/
|
||||
doc/
|
||||
scratchpad*
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
<% if signature %>signature <%= signature %> <% else %>signature UNSIGNED<% end %>
|
||||
|
||||
<% if signature %>signature <%= signature %><% else %>signature UNSIGNED<% end %>
|
||||
|
|
Loading…
Reference in New Issue