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 8a8e930
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test/main/kanji-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh

. libtest.sh
. libgit.sh

export COLUMNS=100
export LINES=4

steps ':save-display kanji.screen'

test_setup_work_dir()
{
git_commit -m "最初のコミットです。長めのコミットログが必要なので書いています。"
git_commit -m "避免在尚未安裝時執行發生找不到目錄的錯誤"
}

git_init

test_tig

assert_equals 'kanji.screen' <<EOF
2009-02-22 11:53 +0000 Committer o [master] 避免在尚未安裝時執行發生找不到目錄的錯誤
2009-02-13 23:31 +0000 Committer I 最初のコミットです。長めのコミットログが必要なので書いています。
[main] c11217ceb72038f862d266d71b834469aadbfd1d - commit 1 of 2 100%
EOF

0 comments on commit 8a8e930

Please sign in to comment.