Skip to content

Commit a5c3ffb

Browse files
committed
Updated fixtures.
1 parent 912bc2f commit a5c3ffb

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

test/fixtures/dox.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"uid": "dox.js-exports.escape",
44
"isPrivate": false,
55
"type": "method",
6-
"name": "exports.escape()",
6+
"name": "exports.escape",
77
"description": "Escape the given `html`.\n",
88
"body": "",
99
"tags": {
@@ -29,6 +29,7 @@
2929
}
3030
],
3131
"api": []
32-
}
32+
},
33+
"params": "html"
3334
}
3435
]

test/fixtures/facade.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"uid": "facade.js-facade.polygon",
44
"isPrivate": false,
55
"type": "method",
6-
"name": "Facade.Polygon()",
6+
"name": "Facade.Polygon",
77
"description": "Create a polygon object. Inherits all methods from <b>Facade.Entity</b>.",
88
"body": " var polygon = new Facade.Polygon({\n x: 0,\n y: 0,\n points: [ [100, 0], [200, 100], [100, 200], [0, 100] ],\n lineWidth: 10,\n strokeStyle: '#333E4B',\n fillStyle: '#1C73A8',\n anchor: 'top/left'\n });\n",
99
"tags": {
@@ -131,13 +131,14 @@
131131
}
132132
],
133133
"public": []
134-
}
134+
},
135+
"params": "[options]"
135136
},
136137
{
137138
"uid": "facade.js-facade.polygon.prototype._defaultoptions",
138139
"isPrivate": true,
139140
"type": "method",
140-
"name": "Facade.Polygon._defaultOptions()",
141+
"name": "Facade.Polygon._defaultOptions",
141142
"description": "Returns a default set of options common to all Facade.js polygon entities.\n",
142143
"body": "",
143144
"tags": {
@@ -163,6 +164,7 @@
163164
}
164165
],
165166
"private": []
166-
}
167+
},
168+
"params": "updated"
167169
}
168170
]

test/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('doxdox util methods', function () {
3636

3737
it('formatStringForName', function () {
3838

39-
assert.equal(utils.formatStringForName('Class.prototype.method()'), 'Class.method()');
39+
assert.equal(utils.formatStringForName('Class.prototype.method()'), 'Class.method');
4040

4141
});
4242

0 commit comments

Comments
 (0)