From 69956d1a186fc2e3b10dc68eb51adaec73d07df9 Mon Sep 17 00:00:00 2001 From: aditipatelpro Date: Tue, 6 Aug 2024 23:13:20 -0500 Subject: [PATCH] refactor: use position constants --- join_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/join_test.go b/join_test.go index cc82da30..c57543e2 100644 --- a/join_test.go +++ b/join_test.go @@ -9,8 +9,8 @@ func TestJoinVertical(t *testing.T) { expected string } tests := []test{ - {"pos0", JoinVertical(0, "A", "BBBB"), "A \nBBBB"}, - {"pos1", JoinVertical(1, "A", "BBBB"), " A\nBBBB"}, + {"pos0", JoinVertical(Left, "A", "BBBB"), "A \nBBBB"}, + {"pos1", JoinVertical(Right, "A", "BBBB"), " A\nBBBB"}, {"pos0.25", JoinVertical(0.25, "A", "BBBB"), " A \nBBBB"}, }