Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test failure due to not displaying invisible characters #1065

Merged
merged 1 commit into from
Jan 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions test/main/emoji-test
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_setup_work_dir()
git_commit -m "🎨 Reformat the code"
git_commit -m "πŸ“š Document new feature"
git_commit -m "πŸ’„ Polish the UI"
git_commit -m "πŸŒπŸ’§βœ‹πŸ•‹πŸ—‘πŸš€πŸœβ˜€οΈπŸŒ‘πŸŒΆπŸ’―πŸš±β³πŸŒ…πŸŒ‘πŸ˜‘πŸ’‰πŸ˜±πŸ˜ˆπŸ’€πŸ’₯πŸŒ›πŸŒ™πŸ­πŸ’₯πŸšΆπŸ»γ€°πŸ›οΈβŒ›οΈπŸ‘³πŸ™πŸ’₯πŸ˜΄πŸ›ŒπŸ˜³πŸ’₯πŸ›πŸ’₯πŸ‘Šβš”πŸ‘‘ "
git_commit -m "πŸŒπŸ’§βœ‹πŸ•‹πŸ—‘πŸš€πŸœβ˜€πŸŒ‘πŸŒΆπŸ’―πŸš±β³πŸŒ…πŸŒ‘πŸ˜‘πŸ’‰πŸ˜±πŸ˜ˆπŸ’€πŸ’₯πŸŒ›πŸŒ™πŸ­πŸ’₯πŸšΆπŸ»γ€°πŸ›βŒ›πŸ‘³πŸ™πŸ’₯πŸ˜΄πŸ›ŒπŸ˜³πŸ’₯πŸ›πŸ’₯πŸ‘Šβš”πŸ‘‘ "
}

git_init
Expand All @@ -37,35 +37,35 @@ test_case emoji-commit-titles-col-46 \
2009-02-22 11:53 +0000 Committer o 🐧 Fix Linu
2009-02-13 23:31 +0000 Committer I πŸš‘ Fix bug

[main] 50a10e108b44c34548b9ba9e318416b3027100%
[main] 237d747db3f85d2ae36127ecd0371feb4ca100%
EOF

test_case emoji-commit-titles-col-unset \
--subshell='unset COLUMNS' \
<<EOF
2009-04-06 01:44 +0000 Committer o [master] πŸŒπŸ’§βœ‹πŸ•‹πŸ—‘πŸš€πŸœβ˜€οΈπŸŒ‘πŸŒΆπŸ’―πŸš±β³πŸŒ…πŸŒ‘πŸ˜‘πŸ’‰πŸ˜±πŸ˜ˆπŸ’€
2009-04-06 01:44 +0000 Committer o [master] πŸŒπŸ’§βœ‹πŸ•‹πŸ—‘πŸš€πŸœβ˜€πŸŒ‘πŸŒΆπŸ’―πŸš±β³πŸŒ…πŸŒ‘πŸ˜‘πŸ’‰πŸ˜±πŸ˜ˆπŸ’€
2009-03-28 13:22 +0000 Committer o πŸ’„ Polish the UI
2009-03-20 01:00 +0000 Committer o πŸ“š Document new feature
2009-03-11 12:38 +0000 Committer o 🎨 Reformat the code
2009-03-03 00:15 +0000 Committer o ✨ Add new feature
2009-02-22 11:53 +0000 Committer o 🐧 Fix Linux issue
2009-02-13 23:31 +0000 Committer I πŸš‘ Fix bug

[main] 50a10e108b44c34548b9ba9e318416b3027a0627 - commit 1 of 7 100%
[main] 237d747db3f85d2ae36127ecd0371feb4ca986e3 - commit 1 of 7 100%
EOF

test_case emoji-commit-titles-col-300 \
--subshell='export COLUMNS=300' \
<<EOF
2009-04-06 01:44 +0000 Committer o [master] πŸŒπŸ’§βœ‹πŸ•‹πŸ—‘πŸš€πŸœβ˜€οΈπŸŒ‘πŸŒΆπŸ’―πŸš±β³πŸŒ…πŸŒ‘πŸ˜‘πŸ’‰πŸ˜±πŸ˜ˆπŸ’€πŸ’₯πŸŒ›πŸŒ™πŸ­πŸ’₯πŸšΆπŸ»γ€°πŸ›οΈβŒ›οΈπŸ‘³πŸ™πŸ’₯πŸ˜΄πŸ›ŒπŸ˜³πŸ’₯πŸ›πŸ’₯πŸ‘Šβš”πŸ‘‘
2009-04-06 01:44 +0000 Committer o [master] πŸŒπŸ’§βœ‹πŸ•‹πŸ—‘πŸš€πŸœβ˜€πŸŒ‘πŸŒΆπŸ’―πŸš±β³πŸŒ…πŸŒ‘πŸ˜‘πŸ’‰πŸ˜±πŸ˜ˆπŸ’€πŸ’₯πŸŒ›πŸŒ™πŸ­πŸ’₯πŸšΆπŸ»γ€°πŸ›βŒ›πŸ‘³πŸ™πŸ’₯πŸ˜΄πŸ›ŒπŸ˜³πŸ’₯πŸ›πŸ’₯πŸ‘Šβš”πŸ‘‘
2009-03-28 13:22 +0000 Committer o πŸ’„ Polish the UI
2009-03-20 01:00 +0000 Committer o πŸ“š Document new feature
2009-03-11 12:38 +0000 Committer o 🎨 Reformat the code
2009-03-03 00:15 +0000 Committer o ✨ Add new feature
2009-02-22 11:53 +0000 Committer o 🐧 Fix Linux issue
2009-02-13 23:31 +0000 Committer I πŸš‘ Fix bug

[main] 50a10e108b44c34548b9ba9e318416b3027a0627 - commit 1 of 7 100%
[main] 237d747db3f85d2ae36127ecd0371feb4ca986e3 - commit 1 of 7 100%
EOF

run_test_cases