Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7763 from bemjb/shape-tests
Browse files Browse the repository at this point in the history
Fix CSSCodeHints unit tests after my previous change
  • Loading branch information
redmunds committed May 6, 2014
2 parents 59b0b40 + a11dd74 commit 3b1d4fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/extensions/default/CSSCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,11 +522,11 @@ define(function (require, exports, module) {
verifyAllValues(hintList, ["auto", "circle()", "ellipse()", "inherit", "outside-shape", "polygon()", "rectangle()"]);
});

it("should list 6 value-name hints for shape-outside", function () {
it("should list 16 value-name hints for shape-outside", function () {
testEditor.setCursorPos({ line: 2, ch: 16 }); // after shape-outside
var hintList = expectHints(CSSCodeHints.cssPropHintProvider);
verifyAttrHints(hintList, "auto"); // first hint should be auto
verifyAllValues(hintList, ["auto", "rectangle()", "circle()", "ellipse()", "polygon()", "inherit"]);
verifyAttrHints(hintList, "border-box"); // first hint should be border-box
verifyAllValues(hintList, ["none", "inherit", "circle()", "ellipse()", "polygon()", "inset()", "margin-box", "border-box", "padding-box", "content-box", "url()", "image()", "linear-gradient()", "radial-gradient()", "repeating-linear-gradient()", "repeating-radial-gradient()"]);
});

it("should list 2 value-name hints for region-fragment", function () {
Expand Down

0 comments on commit 3b1d4fc

Please sign in to comment.