spec: Test the -able methods

This commit is contained in:
Cheng Zhao 2016-01-23 03:35:30 -08:00
parent 010cc3276a
commit c41de501cb
4 changed files with 113 additions and 8 deletions

View file

@ -122,7 +122,7 @@ void NativeWindow::InitFromOptions(const mate::Dictionary& options) {
}
#endif
bool movable;
if (options.Get(options::kMovable, &movable) && movable) {
if (options.Get(options::kMovable, &movable)) {
SetMovable(movable);
}
bool has_shadow;