mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix bug in setOptions method
This commit is contained in:
parent
8a03a84908
commit
85f1b22cc1
@ -1,6 +1,10 @@
|
||||
CHANGELOG
|
||||
=========
|
||||
|
||||
## 1.2.2
|
||||
|
||||
- Fix bug in setOptions method
|
||||
|
||||
## 1.2.1
|
||||
|
||||
- Fix #39: compile error with boolean operators
|
||||
|
@ -109,10 +109,8 @@ class FenomTest extends \Fenom\TestCase
|
||||
|
||||
$this->fenom->setOptions($options);
|
||||
$this->assertSame($this->fenom->getOptions(), $flags);
|
||||
// printf("from %010b, flags %010b\n", $this->fenom->getOptions(), $flags);
|
||||
// $this->fenom->setOptions(array($code => false));
|
||||
// printf("remove %010b from option %010b, flags %010b\n", $option, $this->fenom->getOptions(), $flags & ~$option);
|
||||
// $this->assertSame($this->fenom->getOptions(), $flags & ~$option);
|
||||
$this->fenom->setOptions(array($code => false));
|
||||
$this->assertSame($this->fenom->getOptions(), $flags & ~$option);
|
||||
}
|
||||
|
||||
public function testFilter()
|
||||
|
Loading…
Reference in New Issue
Block a user