mirror of https://github.com/bqv/weechat-xmpp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
291 B
C++
19 lines
291 B
C++
3 years ago
|
#include <iostream>
|
||
|
#include <doctest/doctest.h>
|
||
|
|
||
|
#include "../plugin.hh"
|
||
|
|
||
|
TEST_CASE("placeholder")
|
||
|
{
|
||
|
int argc = 2;
|
||
|
const char *argv[2] = {"a", "b"};
|
||
|
|
||
|
SUBCASE("takes no arguments")
|
||
|
{
|
||
|
CHECK(argc != 1);
|
||
|
}
|
||
|
|
||
|
weechat::plugin c;
|
||
|
CHECK(&c.name() == NULL);
|
||
|
}
|