Skip to content

Commit

Permalink
Merge branch 'fix-undercover'
Browse files Browse the repository at this point in the history
  • Loading branch information
etu committed Nov 23, 2019
2 parents bd38635 + 22f64b7 commit 3d639f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ EMACS ?= emacs
CASK ?= cask

ifeq ($(TRAVIS),true)
PATTERN=--pattern 'ci: can paste with'
PATTERN=--pattern '\[ci\]'
endif

all: test
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/test-webpaste-providers.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


(it
"ci: can paste with ix.io"
"can paste with ix.io [ci]"

(funcall (webpaste--get-provider-by-name "ix.io") paste-message :sync t)

Expand All @@ -28,7 +28,7 @@


(it
"ci: can paste with dpaste.com"
"can paste with dpaste.com [ci]"

(funcall (webpaste--get-provider-by-name "dpaste.com") paste-message :sync t)

Expand All @@ -37,7 +37,7 @@


(it
"ci: can paste with dpaste.de"
"can paste with dpaste.de [ci]"

(funcall (webpaste--get-provider-by-name "dpaste.de") paste-message :sync t)

Expand All @@ -46,7 +46,7 @@


(it
"local: can paste with gist.github.com"
"can paste with gist.github.com [local]"

;; Override function to extract filename from a filepath, otherwise it breaks
;; during integration tests
Expand All @@ -59,7 +59,7 @@


(it
"ci: can paste with paste.pound-python.org"
"can paste with paste.pound-python.org [ci]"

(funcall (webpaste--get-provider-by-name "paste.pound-python.org") paste-message :sync t)

Expand Down
2 changes: 1 addition & 1 deletion webpaste.el
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ precalculated, and also available both for pre and post request access.")
(webpaste--paste-text text))))


(cl-defun webpaste--providers-error-lambda-no-failover (&rest)
(cl-defun webpaste--providers-error-lambda-no-failover (&rest _)
"Predefined error callback for providers that shouldn't do failover."
(cl-function (lambda (&key error-thrown &allow-other-keys)
(message "Got error: %S" error-thrown))))
Expand Down

0 comments on commit 3d639f1

Please sign in to comment.