Hello,
You're right! The Canadian Experience Class doesn't require continuous work experience. As long as your combined work experience under the same NOC code adds up to at least 1 year within the last 3 years, you can include both jobs in your application.