{"size": 591, "ext": "js", "max_stars_repo_path": "lib/assertions/is-negative-infinity.js", "max_stars_repo_name": "rpgeeganage/referee", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/assertions/is-negative-infinity.js", "max_issues_repo_name": "rpgeeganage/referee", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/assertions/is-negative-infinity.js", "max_forks_repo_name": "rpgeeganage/referee", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.55, "max_line_length": 80, "alphanum_fraction": 0.5482233503}
"use strict";

module.exports = function(referee) {
    referee.add("isNegativeInfinity", {
        assert: function(actual) {
            return actual === -Infinity;
        },
        assertMessage: "${customMessage}Expected ${actual} to be -Infinity",
        refuteMessage: "${customMessage}Expected ${actual} not to be -Infinity",
        expectation: "toBeNegativeInfinity",
        values: function(actual, message) {
            return {
                actual: actual,
                expected: -Infinity,
                customMessage: message
            };
        }
    });
};
