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

/bats/remotes-file-system.bats: Add skipped bats test for fetch display branch bug #451

Merged
merged 3 commits into from
Mar 6, 2020

Conversation

coffeegoddd
Copy link
Contributor

No description provided.

run dolt branch
[ "$status" -eq 0 ]
[[ "${lines[0]}" =~ "master" ]] || false
skip "Fetched branch not displayed in branch list" [[ "${lines[1]}" =~ "tester" ]] || false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skip "..." exits the test the first time it's called, there's no need to call it again

skip "Allows creation of branch with same name as remote branch" [[ "${lines[0]}" =~ "fatal: A branch named 'tester' already exists." ]] || false

# should not be able to checkout branch that is not displayed
skip "Allows checkout of branch not displayed in branch list" run dolt checkout tester
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once the bug is fixed, the checks on 191 & 192 will fail because tester will be fetched on 175

@andy-wm-arthur
Copy link
Contributor

good catch!

@coffeegoddd coffeegoddd merged commit d3b3dc1 into master Mar 6, 2020
@coffeegoddd coffeegoddd deleted the db/skipped-test-fetch-branch branch March 6, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants