| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Setting up the eventrouter for the tests involves code that requires
the config object to be set, so it has to depend on mock_weechat.
This didn't cause a problem when all the tests were run since the first
test depends on mock_weechat so it would be set up. However, if you
tried to run a single test that depended on realish_eventrouter, but not
mock_weechat, it would fail.
|
|
|
|
|
|
| |
We have to replace the & before we replace < and >, otherwise the & in
< and > are going to be replaced. Additionally, we need to end the
sequences with ; which was missing.
|
|
|
|
|
|
|
|
|
|
| |
Not everything that needed to be mocked out was, and there was also an
issue with every instance of PluginConfig sharing the same mutable
settings field and thus stomping on each other if you initialized more
than one in the same test.
Signed-off-by: Ben Kelly <bk@ancilla.ca>
Signed-off-by: Ben Kelly <btk@google.com>
|
|
|
|
| |
Signed-off-by: Ben Kelly <btk@google.com>
|
| |
|
|
|
|
|
| |
This provides nicer granular test cases rather than one whole test that
fails.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Instead of blindly splitting on spaces, use something approximating a
parser for parsing refs. Also add another test case.
|
|
|
|
|
| |
The logic for showing/ignoring alt refs was wrong. Fix that, and to
prevent this from showing up again, add a unit test.
|
| |
|
| |
|
|
|