aboutsummaryrefslogtreecommitdiffstats
path: root/t/001-setup.t
diff options
context:
space:
mode:
authorTeddy Wing2018-03-21 18:11:48 +0100
committerTeddy Wing2018-03-21 18:11:48 +0100
commit9a4abcc9b0e1121c89ae8a12be8eeb291e7dd34e (patch)
treeda6fe097af5baa9b4855693578fc99d35dfb0fb5 /t/001-setup.t
parenta0d39b087ed767b52b6139275025df6f0a82b495 (diff)
parent4132e288ba6af49cf726d71785ec1f2ff9f39270 (diff)
downloadgit-branch-list-9a4abcc9b0e1121c89ae8a12be8eeb291e7dd34e.tar.bz2
Merge branch 'clear-command'
Diffstat (limited to 't/001-setup.t')
-rw-r--r--t/001-setup.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/t/001-setup.t b/t/001-setup.t
new file mode 100644
index 0000000..0e591c4
--- /dev/null
+++ b/t/001-setup.t
@@ -0,0 +1,21 @@
+#!/usr/bin/env perl -w
+
+use strict;
+
+use Test::More;
+
+system('git init t-git-repo');
+ok !$?;
+
+chdir 't-git-repo' or die $!;
+
+system('echo tmp > tmp.txt');
+ok !$?;
+
+system('git add tmp.txt');
+ok !$?;
+
+system('git commit -m "Commit"');
+ok !$?;
+
+done_testing;