forked from MapComplete/MapComplete
		
	Fix tests
This commit is contained in:
		
							parent
							
								
									d5a7aa2f44
								
							
						
					
					
						commit
						ff0c2451da
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -56,7 +56,7 @@ export default class Wikipedia { | |||
|      * Tries to extract the language and article name from the given string | ||||
|      *  | ||||
|      * Wikipedia.extractLanguageAndName("qsdf") // => undefined
 | ||||
|      * Wikipedia.extractLanguageAndName("nl:Warandeputten") // => {lang: "nl", article: "Warandeputten"}
 | ||||
|      * Wikipedia.extractLanguageAndName("nl:Warandeputten") // => {language: "nl", pageName: "Warandeputten"}
 | ||||
|      */ | ||||
|     public static extractLanguageAndName(input: string):{language: string, pageName: string} { | ||||
|         const matched = input.match("([^:]+):(.*)") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue