Skip to content

Commit

Permalink
add tandemName value to ComboBoxItem assertion message, #615
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Aug 13, 2020
1 parent fd3a7b3 commit 9b6bd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ComboBoxItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ComboBoxItem {
assert && assert( options.tandemName === null || typeof options.tandemName === 'string',
`invalid tandemName: ${options.tandemName}` );
assert && assert( !options.tandemName || options.tandemName.endsWith( 'Item' ),
'ComboBoxItem tandemName must end with \'Item\'' );
`ComboBoxItem tandemName must end with 'Item': ${options.tandemName}` );

// @public (read-only)
this.node = node;
Expand Down

0 comments on commit 9b6bd23

Please sign in to comment.