mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-24 01:08:09 +08:00
Write a test for heading being deleted
This test passes :( https://github.com/GitJournal/GitJournal/issues/579 On the plus side, I've learnt a lot about widget testing.
This commit is contained in:
@ -33,8 +33,7 @@ Future<void> setupFixture(String repoPath, GitHash hash) async {
|
||||
var repo = "https://github.com/GitJournal/test_data";
|
||||
|
||||
await runGit('clone $repo $repoPath');
|
||||
await runGit('checkout $hash', repoPath);
|
||||
await runGit('checkout -b main', repoPath);
|
||||
await runGit('checkout -b main $hash', repoPath);
|
||||
await runGit('remote rm origin', repoPath);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user