mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix a couple of notification assertions in Git tests
This commit is contained in:
@@ -234,7 +234,7 @@ class GitBranchWorkerTest : GitPlatformTest() {
|
||||
|
||||
assertCurrentBranch("master")
|
||||
assertCurrentRevision("master")
|
||||
assertSuccessfulNotification("Revision not found in project, community and contrib")
|
||||
assertErrorNotification("Couldn't checkout unknown_ref", "Revision not found in project, community and contrib")
|
||||
}
|
||||
|
||||
fun test_checkout_revision_checkout_ref_with_partial_success() {
|
||||
@@ -627,8 +627,8 @@ class GitBranchWorkerTest : GitPlatformTest() {
|
||||
|
||||
mergeBranch("master2", TestUiHandler())
|
||||
|
||||
assertSuccessfulNotification("Merged " + bcode("master2") + " to " + bcode("master") + "<br/><a href='delete'>Delete master2</a>",
|
||||
myVcsNotifier.lastNotification.content)
|
||||
assertSuccessfulNotification("Merged ${bcode("master2")} to ${bcode("master")}<br/>" +
|
||||
"<a href='delete'>Delete master2</a>")
|
||||
assertFile(myUltimate, "branch_file.txt", "branch content")
|
||||
assertFile(myCommunity, "branch_file.txt", "branch content")
|
||||
assertFile(myContrib, "branch_file.txt", "branch content")
|
||||
|
||||
Reference in New Issue
Block a user