Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coverage.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; coverage.el --- Code coverage line highlighting
;;; coverage.el --- Code coverage line highlighting -*-lexical-binding: t-*-

;; Copyright (C) 2016 Powershop NZ Ltd.

Expand Down
7 changes: 4 additions & 3 deletions test/coverage-test.el
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
;;; Package -- summary
;;; Package -- summary -*-lexical-binding: t-*-
;;; Commentary:
;;; Code:
(require 'ert)
(require 'cl-lib)
(require 'ert-expectations)
(require 'coverage)
(require 'el-mock)
Expand All @@ -15,11 +16,11 @@
(defvar example-json)
(setq example-json `((provider-1
(coverage
(/foo/bar\.rb . ,(coerce bar-results 'array)))
(/foo/bar\.rb . ,(cl-coerce bar-results 'array)))
(timestamp . 1234567890))
(provider-2
(coverage
(/baz/qux/quux\.rb . ,(coerce quux-results 'array)))
(/baz/qux/quux\.rb . ,(cl-coerce quux-results 'array)))
(timestamp . 6789012345))))

(expectations
Expand Down