emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste b7acc4e 100/298: Added test for returning of URL'


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste b7acc4e 100/298: Added test for returning of URL's
Date: Thu, 9 Dec 2021 18:59:53 -0500 (EST)

branch: elpa/webpaste
commit b7acc4e28c7be3db14d4c955b7eba8ad0e76918d
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>

    Added test for returning of URL's
---
 test/webpaste-test.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/webpaste-test.el b/test/webpaste-test.el
index 8bbd4b0..dabfe70 100644
--- a/test/webpaste-test.el
+++ b/test/webpaste-test.el
@@ -6,6 +6,15 @@
 
 
 
+(ert-deftest webpaste-test/return-url ()
+  "Test returning of URL's to the user."
+
+  (webpaste-return-url "https://example.com/";)
+
+  (should (equal (car kill-ring) "https://example.com/";)))
+
+
+
 (ert-deftest webpaste--autopupulate-provider-priority ()
   "Test autopopulate of webpaste-provider-priority."
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]