[gitg/quotes: 2/2] Fix end test quotes
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/quotes: 2/2] Fix end test quotes
- Date: Tue, 1 Feb 2022 22:44:52 +0000 (UTC)
commit f0dfb4162b486b85bcc45b46d69df8ceb9beb780
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Tue Feb 1 23:19:09 2022 +0100
Fix end test quotes
tests/gitg/test-checkout-ref.vala | 6 ++---
tests/gitg/test-cherry-pick-commit.vala | 32 +++++++++++------------
tests/gitg/test-merge-ref.vala | 46 ++++++++++++++++-----------------
3 files changed, 42 insertions(+), 42 deletions(-)
---
diff --git a/tests/gitg/test-checkout-ref.vala b/tests/gitg/test-checkout-ref.vala
index 21114f79..6ee8b560 100644
--- a/tests/gitg/test-checkout-ref.vala
+++ b/tests/gitg/test-checkout-ref.vala
@@ -55,7 +55,7 @@ class Gitg.Test.CheckoutRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Checkout “thebranch“");
+ assert_streq(simple_notifications[0].title, "Checkout “thebranch”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
assert_streq(simple_notifications[0].message, "Successfully checked out branch to working
directory");
assert_file_contents("a", "lala\n");
@@ -75,7 +75,7 @@ class Gitg.Test.CheckoutRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Checkout “thebranch“");
+ assert_streq(simple_notifications[0].title, "Checkout “thebranch”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
assert_streq(simple_notifications[0].message, "Successfully checked out branch to working
directory");
assert_file_contents("b", "something changed\n");
@@ -95,7 +95,7 @@ class Gitg.Test.CheckoutRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Checkout “thebranch“");
+ assert_streq(simple_notifications[0].title, "Checkout “thebranch”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.ERROR);
assert_streq(simple_notifications[0].message, "Failed to checkout branch: 1 conflict prevents
checkout");
assert_file_contents("a", "something changed\n");
diff --git a/tests/gitg/test-cherry-pick-commit.vala b/tests/gitg/test-cherry-pick-commit.vala
index 5e1223ed..a01a36c9 100644
--- a/tests/gitg/test-cherry-pick-commit.vala
+++ b/tests/gitg/test-cherry-pick-commit.vala
@@ -70,7 +70,7 @@ class Gitg.Test.CherryPickCommit : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “master”");
assert_streq(simple_notifications[0].message, "Successfully cherry picked");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
@@ -100,7 +100,7 @@ class Gitg.Test.CherryPickCommit : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “not_master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “not_master”");
assert_streq(simple_notifications[0].message, "Successfully cherry picked");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
@@ -132,7 +132,7 @@ class Gitg.Test.CherryPickCommit : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “not_master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “not_master”");
assert_streq(simple_notifications[0].message, "Successfully cherry picked");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
@@ -158,7 +158,7 @@ class Gitg.Test.CherryPickCommit : Application
var action = new Gitg.CommitActionCherryPick(this, action_interface, theirs_commit);
expect_user_query(new GitgExt.UserQuery.full("Cherry pick has conflicts",
- "The cherry pick of “72af7c“ onto “master“ has
caused conflicts, would you like to checkout branch “master“ with the cherry pick to your working directory
to resolve the conflicts?",
+ "The cherry pick of “72af7c” onto “master” has
caused conflicts, would you like to checkout branch “master” with the cherry pick to your working directory
to resolve the conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -174,7 +174,7 @@ class Gitg.Test.CherryPickCommit : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “master”");
assert_streq(simple_notifications[0].message, "Cherry pick failed with conflicts");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.ERROR);
@@ -200,7 +200,7 @@ class Gitg.Test.CherryPickCommit : Application
var action = new Gitg.CommitActionCherryPick(this, action_interface, theirs_commit);
expect_user_query(new GitgExt.UserQuery.full("Cherry pick has conflicts",
- "The cherry pick of “72af7c“ onto “master“ has
caused conflicts, would you like to checkout branch “master“ with the cherry pick to your working directory
to resolve the conflicts?",
+ "The cherry pick of “72af7c” onto “master” has
caused conflicts, would you like to checkout branch “master” with the cherry pick to your working directory
to resolve the conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -216,7 +216,7 @@ class Gitg.Test.CherryPickCommit : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “master”");
assert_streq(simple_notifications[0].message, "Cherry pick finished with conflicts in working
directory");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
@@ -252,7 +252,7 @@ class Gitg.Test.CherryPickCommit : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “master”");
assert_streq(simple_notifications[0].message, "Successfully cherry picked");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
@@ -295,7 +295,7 @@ class Gitg.Test.CherryPickCommit : Application
var action = new Gitg.CommitActionCherryPick(this, action_interface, theirs_commit);
expect_user_query(new GitgExt.UserQuery.full("Cherry pick has conflicts",
- "The cherry-pick of “72af7c“ onto “not_master“
has caused conflicts, would you like to checkout the cherry pick to your working directory to resolve the
conflicts?",
+ "The cherry-pick of “72af7c” onto “not_master”
has caused conflicts, would you like to checkout the cherry pick to your working directory to resolve the
conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -321,11 +321,11 @@ class Gitg.Test.CherryPickCommit : Application
assert_inteq(simple_notifications.size, 2);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “not_master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “not_master”");
assert_streq(simple_notifications[0].message, "Cherry pick finished with conflicts in working
directory");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
- assert_streq(simple_notifications[1].title, "Checkout “not_master“");
+ assert_streq(simple_notifications[1].title, "Checkout “not_master”");
assert_streq(simple_notifications[1].message, "Successfully checked out branch to working
directory");
assert_inteq(simple_notifications[1].status, SimpleNotification.Status.SUCCESS);
@@ -353,7 +353,7 @@ class Gitg.Test.CherryPickCommit : Application
var action = new Gitg.CommitActionCherryPick(this, action_interface, theirs_commit);
expect_user_query(new GitgExt.UserQuery.full("Cherry pick has conflicts",
- "The cherry-pick of “72af7c“ onto “not_master“
has caused conflicts, would you like to checkout the cherry pick to your working directory to resolve the
conflicts?",
+ "The cherry-pick of “72af7c” onto “not_master”
has caused conflicts, would you like to checkout the cherry pick to your working directory to resolve the
conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -379,11 +379,11 @@ class Gitg.Test.CherryPickCommit : Application
assert_inteq(simple_notifications.size, 2);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “not_master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “not_master”");
assert_streq(simple_notifications[0].message, "Cherry pick finished with conflicts in working
directory");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
- assert_streq(simple_notifications[1].title, "Checkout “not_master“");
+ assert_streq(simple_notifications[1].title, "Checkout “not_master”");
assert_streq(simple_notifications[1].message, "Successfully checked out branch to working
directory");
assert_inteq(simple_notifications[1].status, SimpleNotification.Status.SUCCESS);
@@ -425,7 +425,7 @@ class Gitg.Test.CherryPickCommit : Application
var action = new Gitg.CommitActionCherryPick(this, action_interface, theirs_commit);
expect_user_query(new GitgExt.UserQuery.full("Cherry pick has conflicts",
- "The cherry-pick of “72af7c“ onto “not_master“
has caused conflicts, would you like to checkout the cherry pick to your working directory to resolve the
conflicts?",
+ "The cherry-pick of “72af7c” onto “not_master”
has caused conflicts, would you like to checkout the cherry pick to your working directory to resolve the
conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -451,7 +451,7 @@ class Gitg.Test.CherryPickCommit : Application
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Cherry pick “72af7c“ onto “not_master“");
+ assert_streq(simple_notifications[0].title, "Cherry pick “72af7c” onto “not_master”");
assert_streq(simple_notifications[0].message, "Failed with conflicts");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.ERROR);
diff --git a/tests/gitg/test-merge-ref.vala b/tests/gitg/test-merge-ref.vala
index b030ad1f..dba518e3 100644
--- a/tests/gitg/test-merge-ref.vala
+++ b/tests/gitg/test-merge-ref.vala
@@ -78,8 +78,8 @@ class Gitg.Test.MergeRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “master“");
- assert_streq(simple_notifications[0].message, "Successfully merged “theirs“ into “master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “master”");
+ assert_streq(simple_notifications[0].message, "Successfully merged “theirs” into “master”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
assert_file_contents("a", "a file\n");
@@ -105,8 +105,8 @@ class Gitg.Test.MergeRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “not_master“");
- assert_streq(simple_notifications[0].message, "Successfully merged “theirs“ into
“not_master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “not_master”");
+ assert_streq(simple_notifications[0].message, "Successfully merged “theirs” into
“not_master”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
assert_file_contents("a", "a file\n");
@@ -135,8 +135,8 @@ class Gitg.Test.MergeRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “not_master“");
- assert_streq(simple_notifications[0].message, "Successfully merged “theirs“ into
“not_master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “not_master”");
+ assert_streq(simple_notifications[0].message, "Successfully merged “theirs” into
“not_master”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
assert_file_contents("a", "a file\n");
@@ -158,7 +158,7 @@ class Gitg.Test.MergeRef : Application
var action = new Gitg.RefActionMerge(this, action_interface, master);
expect_user_query(new GitgExt.UserQuery.full("Merge has conflicts",
- "The merge of “theirs“ into “master“ has caused
conflicts, would you like to checkout branch “master“ with the merge to your working directory to resolve the
conflicts?",
+ "The merge of “theirs” into “master” has caused
conflicts, would you like to checkout branch “master” with the merge to your working directory to resolve the
conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -174,7 +174,7 @@ class Gitg.Test.MergeRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “master”");
assert_streq(simple_notifications[0].message, "Merge failed with conflicts");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.ERROR);
@@ -195,7 +195,7 @@ class Gitg.Test.MergeRef : Application
var action = new Gitg.RefActionMerge(this, action_interface, master);
expect_user_query(new GitgExt.UserQuery.full("Merge has conflicts",
- "The merge of “theirs“ into “master“ has caused
conflicts, would you like to checkout branch “master“ with the merge to your working directory to resolve the
conflicts?",
+ "The merge of “theirs” into “master” has caused
conflicts, would you like to checkout branch “master” with the merge to your working directory to resolve the
conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -211,7 +211,7 @@ class Gitg.Test.MergeRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “master”");
assert_streq(simple_notifications[0].message, "Finished merge with conflicts in working
directory");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
@@ -222,7 +222,7 @@ class Gitg.Test.MergeRef : Application
assert_file_contents(".git/ORIG_HEAD", "e1219dd5fbcf8fb5b17bbd3db7a9fa88e98d6651\n");
assert_file_contents(".git/MERGE_HEAD", "72af7ccf47852d832b06c7244de8ae9ded639024\n");
assert_file_contents(".git/MERGE_MODE", "no-ff\n");
- assert_file_contents(".git/MERGE_MSG", "Merge branch “theirs“\n\nConflicts:\n\tc\n");
+ assert_file_contents(".git/MERGE_MSG", "Merge branch “theirs”\n\nConflicts:\n\tc\n");
}
protected virtual signal void test_merge_theirs_dirty_stash()
@@ -253,8 +253,8 @@ class Gitg.Test.MergeRef : Application
loop.run();
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “master“");
- assert_streq(simple_notifications[0].message, "Successfully merged “theirs“ into “master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “master”");
+ assert_streq(simple_notifications[0].message, "Successfully merged “theirs” into “master”");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
assert_file_contents("a", "a file\n");
@@ -293,7 +293,7 @@ class Gitg.Test.MergeRef : Application
var action = new Gitg.RefActionMerge(this, action_interface, not_master);
expect_user_query(new GitgExt.UserQuery.full("Merge has conflicts",
- "The merge of “theirs“ into “not_master“ has
caused conflicts, would you like to checkout the merge to your working directory to resolve the conflicts?",
+ "The merge of “theirs” into “not_master” has
caused conflicts, would you like to checkout the merge to your working directory to resolve the conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -319,11 +319,11 @@ class Gitg.Test.MergeRef : Application
assert_inteq(simple_notifications.size, 2);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “not_master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “not_master”");
assert_streq(simple_notifications[0].message, "Finished merge with conflicts in working
directory");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
- assert_streq(simple_notifications[1].title, "Checkout “not_master“");
+ assert_streq(simple_notifications[1].title, "Checkout “not_master”");
assert_streq(simple_notifications[1].message, "Successfully checked out branch to working
directory");
assert_inteq(simple_notifications[1].status, SimpleNotification.Status.SUCCESS);
@@ -336,7 +336,7 @@ class Gitg.Test.MergeRef : Application
assert_file_contents(".git/ORIG_HEAD", "e1219dd5fbcf8fb5b17bbd3db7a9fa88e98d6651\n");
assert_file_contents(".git/MERGE_HEAD", "72af7ccf47852d832b06c7244de8ae9ded639024\n");
assert_file_contents(".git/MERGE_MODE", "no-ff\n");
- assert_file_contents(".git/MERGE_MSG", "Merge branch “theirs“\n\nConflicts:\n\tc\n");
+ assert_file_contents(".git/MERGE_MSG", "Merge branch “theirs”\n\nConflicts:\n\tc\n");
}
protected virtual signal void test_merge_theirs_not_master_conflicts_checkout_dirty()
@@ -356,7 +356,7 @@ class Gitg.Test.MergeRef : Application
var action = new Gitg.RefActionMerge(this, action_interface, not_master);
expect_user_query(new GitgExt.UserQuery.full("Merge has conflicts",
- "The merge of “theirs“ into “not_master“ has
caused conflicts, would you like to checkout the merge to your working directory to resolve the conflicts?",
+ "The merge of “theirs” into “not_master” has
caused conflicts, would you like to checkout the merge to your working directory to resolve the conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -382,11 +382,11 @@ class Gitg.Test.MergeRef : Application
assert_inteq(simple_notifications.size, 2);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “not_master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “not_master”");
assert_streq(simple_notifications[0].message, "Finished merge with conflicts in working
directory");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.SUCCESS);
- assert_streq(simple_notifications[1].title, "Checkout “not_master“");
+ assert_streq(simple_notifications[1].title, "Checkout “not_master”");
assert_streq(simple_notifications[1].message, "Successfully checked out branch to working
directory");
assert_inteq(simple_notifications[1].status, SimpleNotification.Status.SUCCESS);
@@ -399,7 +399,7 @@ class Gitg.Test.MergeRef : Application
assert_file_contents(".git/ORIG_HEAD", "e1219dd5fbcf8fb5b17bbd3db7a9fa88e98d6651\n");
assert_file_contents(".git/MERGE_HEAD", "72af7ccf47852d832b06c7244de8ae9ded639024\n");
assert_file_contents(".git/MERGE_MODE", "no-ff\n");
- assert_file_contents(".git/MERGE_MSG", "Merge branch “theirs“\n\nConflicts:\n\tc\n");
+ assert_file_contents(".git/MERGE_MSG", "Merge branch “theirs”\n\nConflicts:\n\tc\n");
var messages = new string[0];
var oids = new Ggit.OId[0];
@@ -433,7 +433,7 @@ class Gitg.Test.MergeRef : Application
var action = new Gitg.RefActionMerge(this, action_interface, not_master);
expect_user_query(new GitgExt.UserQuery.full("Merge has conflicts",
- "The merge of “theirs“ into “not_master“ has
caused conflicts, would you like to checkout the merge to your working directory to resolve the conflicts?",
+ "The merge of “theirs” into “not_master” has
caused conflicts, would you like to checkout the merge to your working directory to resolve the conflicts?",
Gtk.MessageType.QUESTION,
"Cancel",
Gtk.ResponseType.CANCEL,
@@ -459,7 +459,7 @@ class Gitg.Test.MergeRef : Application
assert_inteq(simple_notifications.size, 1);
- assert_streq(simple_notifications[0].title, "Merge “theirs“ into “not_master“");
+ assert_streq(simple_notifications[0].title, "Merge “theirs” into “not_master”");
assert_streq(simple_notifications[0].message, "Failed with conflicts");
assert_inteq(simple_notifications[0].status, SimpleNotification.Status.ERROR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]