[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 9a78453 7/9: Fix defect introduced 20160517T2
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 9a78453 7/9: Fix defect introduced 20160517T2303: tests not updated |
Date: |
Wed, 15 Feb 2017 20:26:59 -0500 (EST) |
branch: master
commit 9a78453992f92e77e6e9512b39abd465b875c0ba
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Fix defect introduced 20160517T2303: tests not updated
Semicolons are inserted to redelimit pasted text. Since 20160517T2303
they are left intact, rather than guessing that end users prefer them
to be removed from the end. UponTestPasting() has now been updated
accordingly, as it should have been at that time.
---
skeleton.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/skeleton.cpp b/skeleton.cpp
index 5a9c1a3..e65d734 100644
--- a/skeleton.cpp
+++ b/skeleton.cpp
@@ -1095,17 +1095,17 @@ void Skeleton::UponTestPasting(wxCommandEvent&)
ClipboardEx::SetText("1\r\n2\r\n3\r\n");
t.SetSelection(-1L, -1L);
t.Paste();
- if("1;2;3" != t.GetValue())
+ if("1;2;3;" != t.GetValue())
{
- warning() << "'1;2;3' != '" << t.GetValue() << "'" << LMI_FLUSH;
+ warning() << "'1;2;3;' != '" << t.GetValue() << "'" << LMI_FLUSH;
}
ClipboardEx::SetText("X\tY\tZ\t");
t.SetSelection(-1L, -1L);
t.Paste();
- if("X;Y;Z" != t.GetValue())
+ if("X;Y;Z;" != t.GetValue())
{
- warning() << "'X;Y;Z' != '" << t.GetValue() << "'" << LMI_FLUSH;
+ warning() << "'X;Y;Z;' != '" << t.GetValue() << "'" << LMI_FLUSH;
}
z->Destroy();
- [lmi-commits] [lmi] master updated (0cfdd92 -> 59797a5), Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master a352f9e 2/9: Restore original facet get_table() implementation, Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master da6c8c9 5/9: Do not treat tab as whitespace in UponPasteCensus(), Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master a16705a 4/9: Add a tab-is-not-ws facet, Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master 9a78453 7/9: Fix defect introduced 20160517T2303: tests not updated,
Greg Chicares <=
- [lmi-commits] [lmi] master 1f9c757 8/9: Make certain unit tests more general, Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master 4d92a38 6/9: Allow empty strings to be pasted into a census, Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master fc4057e 3/9: Genericize, Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master 59797a5 9/9: Make unit tests pastable into GUI, Greg Chicares, 2017/02/15
- [lmi-commits] [lmi] master 45a1834 1/9: Remove a dead usenet reference, Greg Chicares, 2017/02/15