~calmbit/suki

093b79d665c605d034891154fc4f394349d9943f — CalmBit 6 months ago f6b68b7
fix stupid obvious debughack
2 files changed, 17 insertions(+), 5 deletions(-)

A .suki.example2
M src/suki.rs
A .suki.example2 => .suki.example2 +14 -0
@@ 0,0 1,14 @@
hello:
	world
this:
	is
	a
	test
of:
	my
	suki
	file
format:
	please
	enjoy
	is
\ No newline at end of file

M src/suki.rs => src/suki.rs +3 -5
@@ 105,11 105,9 @@ impl File {
            ));
        }

        // At worse, we should have at least one tag left over that didn't get
        // a chance to be pushed. We push it here with a force-unwrap.
        // TODO: Fix this. It shouldn't force-unwrap, but for testing it's
        // good enough as a panic will tell us enough.
        file_buffer.tags.push(tag_buffer.unwrap());
        if let Some(last_tag) = tag_buffer {
            file_buffer.tags.push(last_tag);
        }
        Ok(file_buffer)
    }
}