From 88d3395b1e8a62d3a6b59e334a6303f732d51078 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 26 Oct 2019 13:57:32 -0400 Subject: [PATCH] Update specs --- spec/protodec_spec.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/protodec_spec.cr b/spec/protodec_spec.cr index 8575d4b..875161a 100644 --- a/spec/protodec_spec.cr +++ b/spec/protodec_spec.cr @@ -2,7 +2,7 @@ require "./spec_helper" describe Protodec do it "decodes Base64 data" do - input = "4qmFsgIrEhhVQ0NqOTU2SUY2MkZiVDdHb3VzemFqOXcaD0VnbGpiMjF0ZFc1cGRIaw" + input = "4qmFsgIsEhhVQ0NqOTU2SUY2MkZiVDdHb3VzemFqOXcaEEVnbGpiMjF0ZFc1cGRIaz0" output = input.strip .try { |i| URI.decode_www_form(i) } .try { |i| URI.decode_www_form(i) } @@ -24,6 +24,6 @@ describe Protodec do }, }) - Base64.urlsafe_encode(Protodec::Any.from_json(object), padding: false).should eq("4qmFsgIrEhhVQ0NqOTU2SUY2MkZiVDdHb3VzemFqOXcaD0VnbGpiMjF0ZFc1cGRIaw") + Base64.urlsafe_encode(Protodec::Any.from_json(object), padding: false).should eq("4qmFsgIsEhhVQ0NqOTU2SUY2MkZiVDdHb3VzemFqOXcaEEVnbGpiMjF0ZFc1cGRIaz0") end end