aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-09 14:28:42 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-28 19:32:28 +0000
commitf6db59b011914c2180b42ed4f6f144679a126994 (patch)
tree3215a9b6889f19a7ba88f24fcca98e683da40542 /tests/unit_tests
parentnotify: warn if the spec contains one of '"\ (diff)
downloadmonero-f6db59b011914c2180b42ed4f6f144679a126994.tar.xz
notify: handle arbitrary tags
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/notify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/notify.cpp b/tests/unit_tests/notify.cpp
index cd70b7739..ceeba8649 100644
--- a/tests/unit_tests/notify.cpp
+++ b/tests/unit_tests/notify.cpp
@@ -67,7 +67,7 @@ TEST(notify, works)
+ " " + name_template + " %s";
tools::Notify notify(spec.c_str());
- notify.notify("1111111111111111111111111111111111111111111111111111111111111111");
+ notify.notify("%s", "1111111111111111111111111111111111111111111111111111111111111111", NULL);
bool ok = false;
for (int i = 0; i < 10; ++i)