-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from 40ants/add-a-test
Added one test and a few exports.
- Loading branch information
Showing
6 changed files
with
71 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
dist ultralisp http://dist.ultralisp.org | ||
|
||
# Unless this pull will be merged: | ||
# https://github.com/sionescu/bordeaux-threads/pull/86 | ||
github bordeaux-threads svetlyak40wt/bordeaux-threads :branch fix-apiv2-for-no-threads | ||
|
||
# Unless this patch is not merged: | ||
github mgl-pax svetlyak40wt/mgl-pax :branch mgl-pax-minimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
(defpackage #:cl-info-test/core | ||
(uiop:define-package #:cl-info-test/core | ||
(:use #:cl) | ||
(:import-from #:cl-info) | ||
(:import-from #:hamcrest/rove | ||
#:contains | ||
#:assert-that) | ||
(:import-from #:rove | ||
#:testing | ||
#:ok | ||
#:deftest)) | ||
(in-package cl-info-test/core) | ||
|
||
|
||
(defun foo (a b) | ||
(list a b)) | ||
(deftest test-system-info | ||
(testing "Checking if we can get system info and it will have the version from ASDF" | ||
(let ((info (cl-info:get-system-info :cl-info)) | ||
(system (asdf:find-system :cl-info))) | ||
(ok (not (null info))) | ||
(ok (equal (cl-info:get-version info) | ||
(asdf:component-version system)))))) | ||
|
||
|
||
(deftest test-some-staff | ||
(testing "Replace this test with real staff." | ||
(assert-that (foo 1 2) | ||
(contains 1 2)))) | ||
(deftest test-absent-system-info | ||
(testing "Checking if we can get system info and it will have the version from ASDF" | ||
(let ((info (cl-info:get-system-info :unknown-system))) | ||
(ok (not (null info))) | ||
(ok (cl-info:absent-p info))))) |