@@ -0,0 +1,1403 @@
+/**%0A * Copyright (c) 2008-2014, http://www.snakeyaml.org%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.yaml.snakeyaml.issues.issue207;%0A%0Aimport junit.framework.TestCase;%0Aimport org.yaml.snakeyaml.Yaml;%0A%0Aimport java.io.InputStream;%0Aimport java.util.Map;%0A%0Apublic class OctalNumberTest extends TestCase %7B%0A%0A    public void testOctalNumbersMoreThenSeven() %7B%0A        Yaml yaml = new Yaml();%0A        assertEquals(7, yaml.load(%2207%22));%0A        assertEquals(63, yaml.load(%22077%22));%0A        assertEquals(0, yaml.load(%220%22));%0A        assertEquals(%220A%22, yaml.load(%220A%22));%0A        assertEquals(%2209%22, yaml.load(%22!!str 09%22));%0A%0A        /* TODO fix 207 and 130%0A        assertEquals(%2208%22, yaml.load(%2208%22));%0A        assertEquals(%2209%22, yaml.load(%2209%22));%0A        Map%3CString, String%3E parsed9 = (Map%3CString, String%3E) yaml.load(%22a: 09%22);%0A        assertEquals(%2209%22, parsed9.get(%22a%22));%0A        */%0A    %7D%0A%7D%0A

Add a test for issue 207