Um, once you send a ship through, just click on the wormhold and a bright white line will show you which wormhole it leads to. They can lead to other systems, but they can also stay 'in-system' -- there's no telling until you explore. (Unless it's a single-system map, of course... but even then, be wary because it's always possible the map maker is playing games you aren't expecting...)