aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/yaml/snakeyaml/tokens/FlowEntryTokenTest.java
blob: c9d3f0b744ef29f642700edec70b551d76c0913c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * See LICENSE file in distribution for copyright and licensing information.
 */
package org.yaml.snakeyaml.tokens;

import junit.framework.TestCase;

import org.yaml.snakeyaml.error.Mark;

public class FlowEntryTokenTest extends TestCase {

    public void testGetTokenId() {
        Mark mark = new Mark("test1", 0, 0, 0, "*The first line.\nThe last line.", 0);
        FlowEntryToken token = new FlowEntryToken(mark, mark);
        assertEquals(",", token.getTokenId());
    }
}