Longman\TelegramBot\Tests\Unit\Commands\CommandTestCase::testVersionNumberFormat PHP Method

testVersionNumberFormat() public method

Make sure the version number is in the format x.x.x, x.x or x
    public function testVersionNumberFormat()
    {
        $this->assertRegExp('/^(\\d+\\.)?(\\d+\\.)?(\\d+)$/', $this->command->getVersion());
    }