InfluxDB\Test\PointTest::testFieldValueStringEscaping PHP Method

testFieldValueStringEscaping() public method

    public function testFieldValueStringEscaping()
    {
        $expected = 'instance,host=server01,region=us-west spaces="string with spaces",doublequote="the \\" is escaped"';
        $point = $this->getPoint(null);
        $point->setFields(['spaces' => 'string with spaces', 'doublequote' => 'the " is escaped']);
        $this->assertEquals($expected, (string) $point);
    }