Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
koutcher committed Oct 28, 2023
1 parent f860eba commit ea88d31
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/main/kanji-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/sh

. libtest.sh
. libgit.sh

export COLUMNS=108
export LINES=3

steps ':save-display kanji.screen'

test_setup_work_dir()
{
git_commit -m "最初のコミットです。長めのコミットログが必要なので書いています。"
}

git_init

test_tig

assert_equals 'kanji.screen' <<EOF
2009-02-13 23:31 +0000 Committer I [master] 最初のコミットです。長めのコミットログが必要なので書いています。
[main] 75ece02fa064e6bba600beb1ae97b7424b9dbc69 - commit 1 of 1 100%
EOF

0 comments on commit ea88d31

Please sign in to comment.